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

Public Member Functions

def __init__ (self, hass)
 
def get_closest_network_id (self, latitude, longitude)
 

Public Attributes

 hass
 
 networks
 
 networks_loading
 

Detailed Description

Represent all CityBikes networks.

Definition at line 213 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.citybikes.sensor.CityBikesNetworks.__init__ (   self,
  hass 
)
Initialize the networks instance.

Definition at line 216 of file sensor.py.

Member Function Documentation

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

Member Data Documentation

◆ hass

homeassistant.components.citybikes.sensor.CityBikesNetworks.hass

Definition at line 218 of file sensor.py.

◆ networks

homeassistant.components.citybikes.sensor.CityBikesNetworks.networks

Definition at line 219 of file sensor.py.

◆ networks_loading

homeassistant.components.citybikes.sensor.CityBikesNetworks.networks_loading

Definition at line 220 of file sensor.py.


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