mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Fix template for seperate valve entity in Homematic (#15280)
Old version didn't work, so i asked on Reddit and got an working answer, so here is the change. Mentioned reddit thread: https://www.reddit.com/r/homeassistant/comments/jce8y2/make_valve_postiotion_its_own_entity/
This commit is contained in:
parent
21f7774428
commit
3593e1a1b5
@ -210,7 +210,7 @@ sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
bedroom_valve:
|
||||
value_template: '{% raw %}{{ state_attr('climate.leq123456', 'Valve') }}{% endraw %}'
|
||||
value_template: "{% raw %}{{ state_attr('climate.leq123456', 'valve') }}{% endraw %}"
|
||||
entity_id: climate.leq123456
|
||||
friendly_name: 'Bedroom valve'
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user