Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.citybikes.sensor.CityBikesNetwork Class Reference

Public Member Functions

def __init__ (self, hass, network_id)
 
def async_refresh (self, now=None)
 

Public Attributes

 hass
 
 network_id
 
 ready
 
 stations
 

Detailed Description

Thin wrapper around a CityBikes network object.

Definition at line 251 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.citybikes.sensor.CityBikesNetwork.__init__ (   self,
  hass,
  network_id 
)
Initialize the network object.

Definition at line 254 of file sensor.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ hass

homeassistant.components.citybikes.sensor.CityBikesNetwork.hass

Definition at line 256 of file sensor.py.

◆ network_id

homeassistant.components.citybikes.sensor.CityBikesNetwork.network_id

Definition at line 257 of file sensor.py.

◆ ready

homeassistant.components.citybikes.sensor.CityBikesNetwork.ready

Definition at line 259 of file sensor.py.

◆ stations

homeassistant.components.citybikes.sensor.CityBikesNetwork.stations

Definition at line 258 of file sensor.py.


The documentation for this class was generated from the following file: