Static Public Attributes | |
| 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 an external event with an associated geolocation.
Definition at line 63 of file __init__.py.
| float | None homeassistant.components.geo_location.GeolocationEvent.distance | ( | self | ) |
Return distance value of this external event.
Reimplemented in homeassistant.components.demo.geo_location.DemoGeolocationEvent.
Definition at line 86 of file __init__.py.
| float | None homeassistant.components.geo_location.GeolocationEvent.latitude | ( | self | ) |
Return latitude value of this external event.
Reimplemented in homeassistant.components.demo.geo_location.DemoGeolocationEvent.
Definition at line 91 of file __init__.py.
| float | None homeassistant.components.geo_location.GeolocationEvent.longitude | ( | self | ) |
Return longitude value of this external event.
Reimplemented in homeassistant.components.demo.geo_location.DemoGeolocationEvent.
Definition at line 96 of file __init__.py.
| str homeassistant.components.geo_location.GeolocationEvent.source | ( | self | ) |
Return source value of this external event.
Reimplemented in homeassistant.components.demo.geo_location.DemoGeolocationEvent.
Definition at line 81 of file __init__.py.
| float | None homeassistant.components.geo_location.GeolocationEvent.state | ( | self | ) |
Return the state of the sensor.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 74 of file __init__.py.
| dict[str, Any] homeassistant.components.geo_location.GeolocationEvent.state_attributes | ( | self | ) |
Return the state attributes of this external event.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 102 of file __init__.py.
|
static |
Definition at line 68 of file __init__.py.