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

Classes

class  RingSensor
 
class  RingSensorEntityDescription
 

Functions

dict[str, Any]|None _get_last_event (list[dict[str, Any]] history_data, RingEventKind|None kind)
 
dict[str, Any]|None _get_last_event_attrs (list[dict[str, Any]] history_data, RingEventKind|None kind)
 
None async_setup_entry (HomeAssistant hass, RingConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Detailed Description

Component providing HA sensor support for Ring Door Bell/Chimes.

Function Documentation

◆ _get_last_event()

dict[str, Any] | None homeassistant.components.ring.sensor._get_last_event ( list[dict[str, Any]]  history_data,
RingEventKind | None   kind 
)
private

Definition at line 109 of file sensor.py.

◆ _get_last_event_attrs()

dict[str, Any] | None homeassistant.components.ring.sensor._get_last_event_attrs ( list[dict[str, Any]]  history_data,
RingEventKind | None   kind 
)
private

Definition at line 122 of file sensor.py.

◆ async_setup_entry()

None homeassistant.components.ring.sensor.async_setup_entry ( HomeAssistant  hass,
RingConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up a sensor for a Ring device.

Definition at line 45 of file sensor.py.