mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-26 20:16:36 +00:00

* Ignore hass changes while dropdown is open * Upgrade vaadin-combo-box * Fix styling on dev-service panel * Fix styling for ha-entity-dropdown * Fix height vaadin-combo-box dropdown * Rename ha-entity-dropdown to ha-entity-picker * More entity improvement (#675) * Update script and automation editor to use entity picker * Add entity and service picker to service dev panel * Lint
5 lines
136 B
JavaScript
5 lines
136 B
JavaScript
export function hasLocation(stateObj) {
|
|
return ('latitude' in stateObj.attributes &&
|
|
'longitude' in stateObj.attributes);
|
|
}
|