core/homeassistant/components/command_line/const.py

14 lines
313 B
Python

"""Allows to configure custom shell commands to turn a value for a sensor."""
from homeassistant.const import Platform
CONF_COMMAND_TIMEOUT = "command_timeout"
DEFAULT_TIMEOUT = 15
DOMAIN = "command_line"
PLATFORMS = [
Platform.BINARY_SENSOR,
Platform.COVER,
Platform.SENSOR,
Platform.SWITCH,
]