Go to the source code of this file.
Classes | |
| class | homeassistant.components.netio.switch.NetioApiView |
| class | homeassistant.components.netio.switch.NetioSwitch |
Namespaces | |
| homeassistant.components.netio.switch | |
Functions | |
| def | homeassistant.components.netio.switch.dispose (event) |
| None | homeassistant.components.netio.switch.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| homeassistant.components.netio.switch._LOGGER = logging.getLogger(__name__) | |
| string | homeassistant.components.netio.switch.ATTR_START_DATE = "start_date" |
| string | homeassistant.components.netio.switch.ATTR_TOTAL_CONSUMPTION_KWH = "total_energy_kwh" |
| string | homeassistant.components.netio.switch.CONF_OUTLETS = "outlets" |
| int | homeassistant.components.netio.switch.DEFAULT_PORT = 1234 |
| string | homeassistant.components.netio.switch.DEFAULT_USERNAME = "admin" |
| homeassistant.components.netio.switch.Device = namedtuple("Device", ["netio", "entities"]) | |
| homeassistant.components.netio.switch.MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) | |
| homeassistant.components.netio.switch.PLATFORM_SCHEMA | |
| list | homeassistant.components.netio.switch.REQ_CONF = [CONF_HOST, CONF_OUTLETS] |
| string | homeassistant.components.netio.switch.URL_API_NETIO_EP = "/api/netio/{host}" |