Classes | |
| class | DemoGeolocationEvent |
| class | DemoManager |
Functions | |
| None | setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| float | AVG_KM_PER_DEGREE = 111.0 |
| DEFAULT_UPDATE_INTERVAL = timedelta(minutes=1) | |
| list | EVENT_NAMES |
| int | MAX_RADIUS_IN_KM = 50 |
| int | NUMBER_OF_DEMO_DEVICES = 5 |
| string | SOURCE = "demo" |
Demo platform for the geolocation component.
| None homeassistant.components.demo.geo_location.setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the Demo geolocations.
Definition at line 45 of file geo_location.py.
|
private |
Definition at line 17 of file geo_location.py.
| float homeassistant.components.demo.geo_location.AVG_KM_PER_DEGREE = 111.0 |
Definition at line 19 of file geo_location.py.
| homeassistant.components.demo.geo_location.DEFAULT_UPDATE_INTERVAL = timedelta(minutes=1) |
Definition at line 20 of file geo_location.py.
| list homeassistant.components.demo.geo_location.EVENT_NAMES |
Definition at line 24 of file geo_location.py.
| int homeassistant.components.demo.geo_location.MAX_RADIUS_IN_KM = 50 |
Definition at line 21 of file geo_location.py.
| int homeassistant.components.demo.geo_location.NUMBER_OF_DEMO_DEVICES = 5 |
Definition at line 22 of file geo_location.py.
| string homeassistant.components.demo.geo_location.SOURCE = "demo" |
Definition at line 42 of file geo_location.py.