Classes | |
| class | CommandBinarySensor |
Functions | |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| string | DEFAULT_NAME = "Binary Command Sensor" |
| string | DEFAULT_PAYLOAD_OFF = "OFF" |
| string | DEFAULT_PAYLOAD_ON = "ON" |
| SCAN_INTERVAL = timedelta(seconds=60) | |
Support for custom shell commands to retrieve values.
| None homeassistant.components.command_line.binary_sensor.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the Command line Binary Sensor.
Definition at line 36 of file binary_sensor.py.
| string homeassistant.components.command_line.binary_sensor.DEFAULT_NAME = "Binary Command Sensor" |
Definition at line 29 of file binary_sensor.py.
| string homeassistant.components.command_line.binary_sensor.DEFAULT_PAYLOAD_OFF = "OFF" |
Definition at line 31 of file binary_sensor.py.
| string homeassistant.components.command_line.binary_sensor.DEFAULT_PAYLOAD_ON = "ON" |
Definition at line 30 of file binary_sensor.py.
| homeassistant.components.command_line.binary_sensor.SCAN_INTERVAL = timedelta(seconds=60) |
Definition at line 33 of file binary_sensor.py.