Static Public Attributes | |
| int | |
| 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 | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Base class for a tracked device.
Definition at line 214 of file config_entry.py.
| bool homeassistant.components.device_tracker.config_entry.TrackerEntity.force_update | ( | self | ) |
All updates need to be written to the state machine if we're not polling.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 232 of file config_entry.py.
| float | None homeassistant.components.device_tracker.config_entry.TrackerEntity.latitude | ( | self | ) |
Return latitude value of the device.
Reimplemented in homeassistant.components.tessie.device_tracker.TessieDeviceTrackerRouteEntity, homeassistant.components.tessie.device_tracker.TessieDeviceTrackerLocationEntity, homeassistant.components.teslemetry.device_tracker.TeslemetryDeviceTrackerEntity, and homeassistant.components.subaru.device_tracker.SubaruDeviceTracker.
Definition at line 250 of file config_entry.py.
| int homeassistant.components.device_tracker.config_entry.TrackerEntity.location_accuracy | ( | self | ) |
Return the location accuracy of the device. Value in meters.
Definition at line 237 of file config_entry.py.
Return a location name for the current location of the device.
Reimplemented in homeassistant.components.teslemetry.device_tracker.TeslemetryDeviceTrackerRouteEntity, and homeassistant.components.tesla_fleet.device_tracker.TeslaFleetDeviceTrackerRouteEntity.
Definition at line 245 of file config_entry.py.
| float | None homeassistant.components.device_tracker.config_entry.TrackerEntity.longitude | ( | self | ) |
Return longitude value of the device.
Reimplemented in homeassistant.components.tessie.device_tracker.TessieDeviceTrackerRouteEntity, homeassistant.components.tessie.device_tracker.TessieDeviceTrackerLocationEntity, homeassistant.components.teslemetry.device_tracker.TeslemetryDeviceTrackerEntity, and homeassistant.components.subaru.device_tracker.SubaruDeviceTracker.
Definition at line 255 of file config_entry.py.
| bool homeassistant.components.device_tracker.config_entry.TrackerEntity.should_poll | ( | self | ) |
No polling for entities that have location pushed.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 227 of file config_entry.py.
Return the state of the device.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 260 of file config_entry.py.
| dict[str, StateType] homeassistant.components.device_tracker.config_entry.TrackerEntity.state_attributes | ( | self | ) |
Return the device state attributes.
Reimplemented from homeassistant.components.device_tracker.config_entry.BaseTrackerEntity.
Definition at line 281 of file config_entry.py.
|
static |
Definition at line 221 of file config_entry.py.
|
static |
Definition at line 220 of file config_entry.py.
|
static |
Definition at line 224 of file config_entry.py.