mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-25 08:07:41 +03:00
Update home-assistant.md
This commit is contained in:
parent
16211d225d
commit
b55ffd2f1b
@ -185,6 +185,26 @@ For clips to be castable to media devices, audio is required and may need to be
|
|||||||
|
|
||||||
<a name="api"></a>
|
<a name="api"></a>
|
||||||
|
|
||||||
|
## Camera API
|
||||||
|
|
||||||
|
To disable a camera dynamically
|
||||||
|
|
||||||
|
```
|
||||||
|
action: camera.turn_off
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: camera.back_deck_cam # your Frigate camera entity ID
|
||||||
|
```
|
||||||
|
|
||||||
|
To enable a camera that has been disabled dynamically
|
||||||
|
|
||||||
|
```
|
||||||
|
action: camera.turn_on
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: camera.back_deck_cam # your Frigate camera entity ID
|
||||||
|
```
|
||||||
|
|
||||||
## Notification API
|
## Notification API
|
||||||
|
|
||||||
Many people do not want to expose Frigate to the web, so the integration creates some public API endpoints that can be used for notifications.
|
Many people do not want to expose Frigate to the web, so the integration creates some public API endpoints that can be used for notifications.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user