Public Attributes | |
| registry_entry | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Static Public Attributes | |
| None | |
| SourceType | |
Static Public Attributes inherited from homeassistant.components.device_tracker.config_entry.BaseTrackerEntity | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Base class for a tracked device that is on a scanned network.
Definition at line 305 of file config_entry.py.
| None homeassistant.components.device_tracker.config_entry.ScannerEntity.add_to_platform_start | ( | self, | |
| HomeAssistant | hass, | ||
| EntityPlatform | platform, | ||
| asyncio.Semaphore | None | parallel_updates | ||
| ) |
Start adding an entity to a platform.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 367 of file config_entry.py.
| None homeassistant.components.device_tracker.config_entry.ScannerEntity.async_internal_added_to_hass | ( | self | ) |
Handle added to Home Assistant.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 399 of file config_entry.py.
| DeviceInfo | None homeassistant.components.device_tracker.config_entry.ScannerEntity.device_info | ( | self | ) |
Device tracker entities should not create device registry entries.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 350 of file config_entry.py.
| bool homeassistant.components.device_tracker.config_entry.ScannerEntity.entity_registry_enabled_default | ( | self | ) |
Return if entity is enabled by default.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 355 of file config_entry.py.
| dr.DeviceEntry | None homeassistant.components.device_tracker.config_entry.ScannerEntity.find_device_entry | ( | self | ) |
Return device entry.
Definition at line 391 of file config_entry.py.
Return hostname of the device.
Definition at line 327 of file config_entry.py.
Return the primary ip address of the device.
Definition at line 317 of file config_entry.py.
| bool homeassistant.components.device_tracker.config_entry.ScannerEntity.is_connected | ( | self | ) |
Return true if the device is connected to the network.
Definition at line 339 of file config_entry.py.
Return the mac address of the device.
Definition at line 322 of file config_entry.py.
| str homeassistant.components.device_tracker.config_entry.ScannerEntity.state | ( | self | ) |
Return the state of the device.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 332 of file config_entry.py.
| dict[str, StateType] homeassistant.components.device_tracker.config_entry.ScannerEntity.state_attributes | ( | self | ) |
Return the device state attributes.
Reimplemented from homeassistant.components.device_tracker.config_entry.BaseTrackerEntity.
Definition at line 434 of file config_entry.py.
Return unique ID of the entity.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 344 of file config_entry.py.
|
static |
Definition at line 311 of file config_entry.py.
| homeassistant.components.device_tracker.config_entry.ScannerEntity.registry_entry |
Definition at line 418 of file config_entry.py.
|
static |
Definition at line 314 of file config_entry.py.