Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.smarttub.binary_sensor Namespace Reference

Classes

class  SmartTubError
 
class  SmartTubOnline
 
class  SmartTubReminder
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

string ATTR_CREATED_AT = "created_at"
 
string ATTR_ERROR_CODE = "error_code"
 
string ATTR_ERROR_DESCRIPTION = "error_description"
 
string ATTR_ERROR_TITLE = "error_title"
 
string ATTR_ERROR_TYPE = "error_type"
 
string ATTR_REMINDER_DAYS = "days"
 
string ATTR_REMINDER_SNOOZED = "snoozed"
 
string ATTR_UPDATED_AT = "updated_at"
 
 VolDictType
 

Detailed Description

Platform for binary sensor integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.smarttub.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up binary sensor entities for the binary sensors in the tub.

Definition at line 45 of file binary_sensor.py.

Variable Documentation

◆ ATTR_CREATED_AT

string homeassistant.components.smarttub.binary_sensor.ATTR_CREATED_AT = "created_at"

Definition at line 28 of file binary_sensor.py.

◆ ATTR_ERROR_CODE

string homeassistant.components.smarttub.binary_sensor.ATTR_ERROR_CODE = "error_code"

Definition at line 24 of file binary_sensor.py.

◆ ATTR_ERROR_DESCRIPTION

string homeassistant.components.smarttub.binary_sensor.ATTR_ERROR_DESCRIPTION = "error_description"

Definition at line 26 of file binary_sensor.py.

◆ ATTR_ERROR_TITLE

string homeassistant.components.smarttub.binary_sensor.ATTR_ERROR_TITLE = "error_title"

Definition at line 25 of file binary_sensor.py.

◆ ATTR_ERROR_TYPE

string homeassistant.components.smarttub.binary_sensor.ATTR_ERROR_TYPE = "error_type"

Definition at line 27 of file binary_sensor.py.

◆ ATTR_REMINDER_DAYS

string homeassistant.components.smarttub.binary_sensor.ATTR_REMINDER_DAYS = "days"

Definition at line 32 of file binary_sensor.py.

◆ ATTR_REMINDER_SNOOZED

string homeassistant.components.smarttub.binary_sensor.ATTR_REMINDER_SNOOZED = "snoozed"

Definition at line 22 of file binary_sensor.py.

◆ ATTR_UPDATED_AT

string homeassistant.components.smarttub.binary_sensor.ATTR_UPDATED_AT = "updated_at"

Definition at line 29 of file binary_sensor.py.

◆ VolDictType

homeassistant.components.smarttub.binary_sensor.VolDictType

Definition at line 33 of file binary_sensor.py.