preheat_open.location.LocationInformation
- class preheat_open.location.LocationInformation(address='', city='', country='', label='', latitude=None, longitude=None, id=None, organisation_id=None, organisation_name='', parent_organisation_id=None, parent_organisation_name='', timezone='', zipcode='')
Bases:
objectRepresents the information of a location.
- Variables:
address (str) – The address of the location.
city (str) – The city where the location is situated.
country (str) – The country where the location is situated.
label (str) – A label for the location.
latitude (Optional[float]) – The latitude of the location.
longitude (Optional[float]) – The longitude of the location.
id (Optional[int]) – The unique identifier of the location.
organisation_id (Optional[int]) – The ID of the organisation associated with the location.
organisation_name (str) – The name of the organisation associated with the location.
parent_organisation_id (Optional[int]) – The ID of the parent organisation.
parent_organisation_name (str) – The name of the parent organisation.
timezone (str) – The timezone of the location.
zipcode (str) – The zipcode of the location.
setpoints (list) – A list of setpoints associated with the location.
- __init__(address='', city='', country='', label='', latitude=None, longitude=None, id=None, organisation_id=None, organisation_name='', parent_organisation_id=None, parent_organisation_name='', timezone='', zipcode='')
Methods
__init__([address, city, country, label, ...])Attributes
addresscitycountryidlabellatitudelongitudeorganisation_idorganisation_nameparent_organisation_idparent_organisation_nametimezonezipcode