Difference between revisions of "Location Object"

From Hubitat Documentation
Jump to: navigation, search
(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...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
==<code>id</code>==
 
==<code>name</code>==
 
==<code>temperatureScale</code>==
 
==<code>timeZone</code>==
 
==<code>zipCode</code>==
 
==<code>latitude</code>==
 
==<code>longitude</code>==
 
==<code>sunrise</code>==
 
==<code>sunset</code>==
 
==<code>hubs</code>==
 
  
Methods
+
<big>
==<code>getFormattedLatitude</code>==
+
This document is available at: http://docs2.hubitat.com/en/developer/location-object
==<code>getFormattedLongitude</code>==
+
</big>
==<code>getTimeFormat</code>==
 
==<code>getModes</code>==
 
==<code>getMode</code>==
 
==<code>setMode</code>==
 
==<code>currentMode</code>==
 

Latest revision as of 19:44, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/location-object