Fix bedroom heating entity
This commit is contained in:
@@ -284,7 +284,7 @@ sections:
|
|||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: thermostat
|
- type: thermostat
|
||||||
entity: climate.sovevaerelse
|
entity: climate.sovev_prelse
|
||||||
name: Gulvvarme
|
name: Gulvvarme
|
||||||
|
|
||||||
- type: grid
|
- type: grid
|
||||||
@@ -292,25 +292,25 @@ sections:
|
|||||||
square: false
|
square: false
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
entity: climate.sovevaerelse
|
entity: climate.sovev_prelse
|
||||||
name: -0.5°
|
name: -0.5°
|
||||||
icon: mdi:minus
|
icon: mdi:minus
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: climate.set_temperature
|
service: climate.set_temperature
|
||||||
service_data:
|
service_data:
|
||||||
entity_id: climate.sovevaerelse
|
entity_id: climate.sovev_prelse
|
||||||
temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]'
|
temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]'
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
entity: climate.sovevaerelse
|
entity: climate.sovev_prelse
|
||||||
name: +0.5°
|
name: +0.5°
|
||||||
icon: mdi:plus
|
icon: mdi:plus
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: climate.set_temperature
|
service: climate.set_temperature
|
||||||
service_data:
|
service_data:
|
||||||
entity_id: climate.sovevaerelse
|
entity_id: climate.sovev_prelse
|
||||||
temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]'
|
temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]'
|
||||||
|
|
||||||
- type: grid
|
- type: grid
|
||||||
|
|||||||
Reference in New Issue
Block a user