Represent all CityBikes networks.
Definition at line 213 of file sensor.py.
◆ __init__()
| def homeassistant.components.citybikes.sensor.CityBikesNetworks.__init__ |
( |
|
self, |
|
|
|
hass |
|
) |
| |
Initialize the networks instance.
Definition at line 216 of file sensor.py.
◆ get_closest_network_id()
| def homeassistant.components.citybikes.sensor.CityBikesNetworks.get_closest_network_id |
( |
|
self, |
|
|
|
latitude, |
|
|
|
longitude |
|
) |
| |
Return the id of the network closest to provided location.
Definition at line 222 of file sensor.py.
◆ hass
| homeassistant.components.citybikes.sensor.CityBikesNetworks.hass |
◆ networks
| homeassistant.components.citybikes.sensor.CityBikesNetworks.networks |
◆ networks_loading
| homeassistant.components.citybikes.sensor.CityBikesNetworks.networks_loading |
The documentation for this class was generated from the following file:
- core/homeassistant/components/citybikes/sensor.py