Location Object

From Hubitat Documentation
Revision as of 14:53, 22 April 2019 by Cschwer (talk | contribs) (Created page with "The Location object is composed of methods that allow you to interact with the settings and values of a location. This object is available to Apps and Drivers via the "getLoc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Location object is composed of methods that allow you to interact with the settings and values of a location. This object is available to Apps and Drivers via the "getLocation()" method or simply using the property "location".

Properties

id

name

temperatureScale

timeZone

zipCode

latitude

longitude

sunrise

sunset

hubs

Methods

getFormattedLatitude

getFormattedLongitude

getTimeFormat

getModes

getMode

setMode

currentMode