Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sonarr.sensor Namespace Reference

Classes

class  SonarrSensor
 
class  SonarrSensorEntityDescription
 
class  SonarrSensorEntityDescriptionMixIn
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
dict[str, str] get_disk_space_attr (list[Diskspace] disks)
 
dict[str, str] get_queue_attr (SonarrQueue queue)
 
dict[str, str] get_wanted_attr (SonarrWantedMissing wanted)
 

Detailed Description

Support for Sonarr sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.sonarr.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up Sonarr sensors based on a config entry.

Definition at line 148 of file sensor.py.

◆ get_disk_space_attr()

dict[str, str] homeassistant.components.sonarr.sensor.get_disk_space_attr ( list[Diskspace]  disks)
Create the attributes for disk space.

Definition at line 50 of file sensor.py.

◆ get_queue_attr()

dict[str, str] homeassistant.components.sonarr.sensor.get_queue_attr ( SonarrQueue  queue)
Create the attributes for series queue.

Definition at line 63 of file sensor.py.

◆ get_wanted_attr()

dict[str, str] homeassistant.components.sonarr.sensor.get_wanted_attr ( SonarrWantedMissing  wanted)
Create the attributes for missing series.

Definition at line 76 of file sensor.py.