mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-28 13:06:33 +00:00
5 lines
144 B
JavaScript
5 lines
144 B
JavaScript
export default function hasLocation(stateObj) {
|
|
return ('latitude' in stateObj.attributes &&
|
|
'longitude' in stateObj.attributes);
|
|
}
|