Classes | |
| class | FFmpegBinarySensor |
| class | FFmpegMotion |
Functions | |
| None | __init__ (self, _HAFFmpegT ffmpeg, dict[str, Any] config) |
| None | _async_callback (self, bool|None state) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
| bool|None | is_on (self) |
| str | name (self) |
Variables | |
| _config | |
| _state | |
| string | CONF_CHANGES = "changes" |
| string | CONF_REPEAT_TIME = "repeat_time" |
| string | CONF_RESET = "reset" |
| bool | DEFAULT_INIT_STATE = True |
| string | DEFAULT_NAME = "FFmpeg Motion" |
| PLATFORM_SCHEMA | |
Provides a binary sensor which is a collection of ffmpeg tools.
| None homeassistant.components.ffmpeg_motion.binary_sensor.__init__ | ( | self, | |
| _HAFFmpegT | ffmpeg, | ||
| dict[str, Any] | config | ||
| ) |
A binary sensor which use FFmpeg for noise detection.
Init for the binary sensor noise detection.
Definition at line 76 of file binary_sensor.py.
|
private |
HA-FFmpeg callback for noise detection.
Definition at line 85 of file binary_sensor.py.
| None homeassistant.components.ffmpeg_motion.binary_sensor.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the FFmpeg binary motion sensor.
Definition at line 59 of file binary_sensor.py.
| bool | None homeassistant.components.ffmpeg_motion.binary_sensor.is_on | ( | self | ) |
Return true if the binary sensor is on.
Definition at line 91 of file binary_sensor.py.
| str homeassistant.components.ffmpeg_motion.binary_sensor.name | ( | self | ) |
Return the name of the entity.
Definition at line 96 of file binary_sensor.py.
|
private |
Definition at line 81 of file binary_sensor.py.
|
private |
Definition at line 87 of file binary_sensor.py.
| string homeassistant.components.ffmpeg_motion.binary_sensor.CONF_CHANGES = "changes" |
Definition at line 31 of file binary_sensor.py.
| string homeassistant.components.ffmpeg_motion.binary_sensor.CONF_REPEAT_TIME = "repeat_time" |
Definition at line 32 of file binary_sensor.py.
| string homeassistant.components.ffmpeg_motion.binary_sensor.CONF_RESET = "reset" |
Definition at line 30 of file binary_sensor.py.
| bool homeassistant.components.ffmpeg_motion.binary_sensor.DEFAULT_INIT_STATE = True |
Definition at line 35 of file binary_sensor.py.
| string homeassistant.components.ffmpeg_motion.binary_sensor.DEFAULT_NAME = "FFmpeg Motion" |
Definition at line 34 of file binary_sensor.py.
| homeassistant.components.ffmpeg_motion.binary_sensor.PLATFORM_SCHEMA |
Definition at line 37 of file binary_sensor.py.