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