Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ffmpeg_noise.binary_sensor.FFmpegNoise Class Reference
Inheritance diagram for homeassistant.components.ffmpeg_noise.binary_sensor.FFmpegNoise:
[legend]
Collaboration diagram for homeassistant.components.ffmpeg_noise.binary_sensor.FFmpegNoise:
[legend]

Public Member Functions

None __init__ (self, HomeAssistant hass, FFmpegManager manager, dict[str, Any] config)
 
BinarySensorDeviceClass device_class (self)
 

Private Member Functions

None _async_start_ffmpeg (self, list[str]|None entity_ids)
 

Detailed Description

A binary sensor which use FFmpeg for noise detection.

Definition at line 66 of file binary_sensor.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.ffmpeg_noise.binary_sensor.FFmpegNoise.__init__ (   self,
HomeAssistant  hass,
FFmpegManager  manager,
dict[str, Any]   config 
)
Initialize FFmpeg noise binary sensor.

Definition at line 69 of file binary_sensor.py.

Member Function Documentation

◆ _async_start_ffmpeg()

None homeassistant.components.ffmpeg_noise.binary_sensor.FFmpegNoise._async_start_ffmpeg (   self,
list[str] | None  entity_ids 
)
private
Start a FFmpeg instance.

This method is a coroutine.

Definition at line 77 of file binary_sensor.py.

◆ device_class()

BinarySensorDeviceClass homeassistant.components.ffmpeg_noise.binary_sensor.FFmpegNoise.device_class (   self)
Return the class of this sensor, from DEVICE_CLASSES.

Definition at line 98 of file binary_sensor.py.


The documentation for this class was generated from the following file: