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

Public Member Functions

None __init__ (self, *DataUpdateCoordinator coordinator, TailscaleDevice device, EntityDescription description)
 
DeviceInfo device_info (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

 device_id
 
 entity_description
 

Private Attributes

 _attr_unique_id
 

Static Private Attributes

bool _attr_has_entity_name = True
 

Detailed Description

Defines a Tailscale base entity.

Definition at line 17 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.tailscale.entity.TailscaleEntity.__init__ (   self,
*DataUpdateCoordinator  coordinator,
TailscaleDevice  device,
EntityDescription  description 
)
Initialize a Tailscale sensor.

Definition at line 22 of file entity.py.

Member Function Documentation

◆ device_info()

DeviceInfo homeassistant.components.tailscale.entity.TailscaleEntity.device_info (   self)
Return the device info.

Definition at line 36 of file entity.py.

Member Data Documentation

◆ _attr_has_entity_name

bool homeassistant.components.tailscale.entity.TailscaleEntity._attr_has_entity_name = True
staticprivate

Definition at line 20 of file entity.py.

◆ _attr_unique_id

homeassistant.components.tailscale.entity.TailscaleEntity._attr_unique_id
private

Definition at line 33 of file entity.py.

◆ device_id

homeassistant.components.tailscale.entity.TailscaleEntity.device_id

Definition at line 32 of file entity.py.

◆ entity_description

homeassistant.components.tailscale.entity.TailscaleEntity.entity_description

Definition at line 31 of file entity.py.


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