Skip to content

Commit

Permalink
Update default.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss authored Apr 6, 2023
1 parent c04f3b4 commit 28cad9d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ulm_translation_engine:
ulm_translation_more_options: "[[[ return hass.resources[hass['language']]['ui.panel.lovelace.editor.edit_card.options']; ]]]"
ulm_active_state: >
[[[
let not_active = ['disarmed','off','closed','not_home','standby','idle','docked','unknown','unavailable','paused']
return !not_active.includes(entity.state)
if (typeof(entity) !== 'undefined' && entity !== undefined){
let not_active = ['disarmed','off','closed','not_home','standby','idle','docked','unknown','unavailable','paused']
return !not_active.includes(entity.state)
}
]]]
ulm_translation_hour: >
[[[
Expand Down

0 comments on commit 28cad9d

Please sign in to comment.