Thin wrapper around a CityBikes network object.
Definition at line 251 of file sensor.py.
◆ __init__()
| def homeassistant.components.citybikes.sensor.CityBikesNetwork.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
network_id |
|
) |
| |
Initialize the network object.
Definition at line 254 of file sensor.py.
◆ async_refresh()
| def homeassistant.components.citybikes.sensor.CityBikesNetwork.async_refresh |
( |
|
self, |
|
|
|
now = None |
|
) |
| |
Refresh the state of the network.
Definition at line 261 of file sensor.py.
◆ hass
| homeassistant.components.citybikes.sensor.CityBikesNetwork.hass |
◆ network_id
| homeassistant.components.citybikes.sensor.CityBikesNetwork.network_id |
◆ ready
| homeassistant.components.citybikes.sensor.CityBikesNetwork.ready |
◆ stations
| homeassistant.components.citybikes.sensor.CityBikesNetwork.stations |
The documentation for this class was generated from the following file:
- core/homeassistant/components/citybikes/sensor.py