Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.uptimerobot.sensor Namespace Reference

Classes

class  UptimeRobotSensor
 

Functions

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

Variables

dictionary SENSORS_INFO
 

Detailed Description

UptimeRobot sensor platform.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.uptimerobot.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the UptimeRobot sensors.

Definition at line 28 of file sensor.py.

Variable Documentation

◆ SENSORS_INFO

dictionary homeassistant.components.uptimerobot.sensor.SENSORS_INFO
Initial value:
1 = {
2  0: "pause",
3  1: "not_checked_yet",
4  2: "up",
5  8: "seems_down",
6  9: "down",
7 }

Definition at line 19 of file sensor.py.