Move config out of subfolder

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent addfa33f6f
commit 1ae0c6d0b8
221 changed files with 0 additions and 0 deletions
@@ -0,0 +1,27 @@
v3_button_ac:
template: v3_button
icon: mdi:air-conditioner
state_display: |
[[[
if (!entity) {
return "Unavailable";
}
if (entity.state === "off") {
return "Off";
}
return entity.attributes.hvac_action.charAt(0).toUpperCase() +
entity.attributes.hvac_action.slice(1) + ' to ' +
entity.attributes.temperature + '°';
]]]
state:
- value: 'off'
operator: '!='
styles:
card:
- background-color: white
- color: black
icon:
- color: var(--primary-color)
state:
- color: black