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

Classes

class  PhilipsTVBinarySensorEntityDescription
 
class  PhilipsTVBinarySensorEntityRecordingType
 

Functions

bool _check_for_recording_entry (PhilipsTV api, str entry, str value)
 
None async_setup_entry (HomeAssistant hass, PhilipsTVConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

tuple DESCRIPTIONS
 

Detailed Description

Philips TV binary sensors.

Function Documentation

◆ _check_for_recording_entry()

bool homeassistant.components.philips_js.binary_sensor._check_for_recording_entry ( PhilipsTV  api,
str  entry,
str  value 
)
private
Return True if at least one specified value is available within entry of list.

Definition at line 60 of file binary_sensor.py.

◆ async_setup_entry()

None homeassistant.components.philips_js.binary_sensor.async_setup_entry ( HomeAssistant  hass,
PhilipsTVConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the configuration entry.

Definition at line 42 of file binary_sensor.py.

Variable Documentation

◆ DESCRIPTIONS

tuple homeassistant.components.philips_js.binary_sensor.DESCRIPTIONS
Initial value:
1 = (
2  PhilipsTVBinarySensorEntityDescription(
3  key="recording_ongoing",
4  translation_key="recording_ongoing",
5  recording_value="RECORDING_ONGOING",
6  ),
7  PhilipsTVBinarySensorEntityDescription(
8  key="recording_new",
9  translation_key="recording_new",
10  recording_value="RECORDING_NEW",
11  ),
12 )

Definition at line 28 of file binary_sensor.py.