Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.uptimerobot.entity.UptimeRobotEntity Class Reference
Inheritance diagram for homeassistant.components.uptimerobot.entity.UptimeRobotEntity:
[legend]
Collaboration diagram for homeassistant.components.uptimerobot.entity.UptimeRobotEntity:
[legend]

Public Member Functions

None __init__ (self, UptimeRobotDataUpdateCoordinator coordinator, EntityDescription description, UptimeRobotMonitor monitor)
 
UptimeRobotMonitor monitor (self)
 
bool monitor_available (self)
 
- Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity
None __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None)
 
None async_update (self)
 
bool available (self)
 

Public Attributes

 api
 
 entity_description
 

Private Member Functions

list[UptimeRobotMonitor] _monitors (self)
 

Private Attributes

 _attr_device_info
 
 _attr_extra_state_attributes
 
 _attr_unique_id
 
 _monitor
 

Static Private Attributes

 _attr_attribution = ATTRIBUTION
 
bool _attr_has_entity_name = True
 
 _attr_name = None
 

Detailed Description

Base UptimeRobot entity.

Definition at line 15 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.uptimerobot.entity.UptimeRobotEntity.__init__ (   self,
UptimeRobotDataUpdateCoordinator  coordinator,
EntityDescription  description,
UptimeRobotMonitor  monitor 
)
Initialize UptimeRobot entities.

Definition at line 22 of file entity.py.

Member Function Documentation

◆ _monitors()

list[UptimeRobotMonitor] homeassistant.components.uptimerobot.entity.UptimeRobotEntity._monitors (   self)
private
Return all monitors.

Definition at line 47 of file entity.py.

◆ monitor()

UptimeRobotMonitor homeassistant.components.uptimerobot.entity.UptimeRobotEntity.monitor (   self)
Return the monitor for this entity.

Definition at line 52 of file entity.py.

◆ monitor_available()

bool homeassistant.components.uptimerobot.entity.UptimeRobotEntity.monitor_available (   self)
Returtn if the monitor is available.

Definition at line 64 of file entity.py.

Member Data Documentation

◆ _attr_attribution

homeassistant.components.uptimerobot.entity.UptimeRobotEntity._attr_attribution = ATTRIBUTION
staticprivate

Definition at line 18 of file entity.py.

◆ _attr_device_info

homeassistant.components.uptimerobot.entity.UptimeRobotEntity._attr_device_info
private

Definition at line 32 of file entity.py.

◆ _attr_extra_state_attributes

homeassistant.components.uptimerobot.entity.UptimeRobotEntity._attr_extra_state_attributes
private

Definition at line 40 of file entity.py.

◆ _attr_has_entity_name

bool homeassistant.components.uptimerobot.entity.UptimeRobotEntity._attr_has_entity_name = True
staticprivate

Definition at line 19 of file entity.py.

◆ _attr_name

homeassistant.components.uptimerobot.entity.UptimeRobotEntity._attr_name = None
staticprivate

Definition at line 20 of file entity.py.

◆ _attr_unique_id

homeassistant.components.uptimerobot.entity.UptimeRobotEntity._attr_unique_id
private

Definition at line 43 of file entity.py.

◆ _monitor

homeassistant.components.uptimerobot.entity.UptimeRobotEntity._monitor
private

Definition at line 31 of file entity.py.

◆ api

homeassistant.components.uptimerobot.entity.UptimeRobotEntity.api

Definition at line 44 of file entity.py.

◆ entity_description

homeassistant.components.uptimerobot.entity.UptimeRobotEntity.entity_description

Definition at line 30 of file entity.py.


The documentation for this class was generated from the following file: