mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +00:00
Updated sensor.template example (#4428)
Removed entity_id from sensor.template example, entity_id was deprecated for template platforms with release 0.61 (issue #11123).
This commit is contained in:
parent
aa24838365
commit
15f53cddd4
@ -27,7 +27,6 @@ sensor:
|
|||||||
sensors:
|
sensors:
|
||||||
solar_angle:
|
solar_angle:
|
||||||
friendly_name: "Sun angle"
|
friendly_name: "Sun angle"
|
||||||
entity_id: sun.sun
|
|
||||||
unit_of_measurement: 'degrees'
|
unit_of_measurement: 'degrees'
|
||||||
value_template: "{{ states.sun.sun.attributes.elevation }}"
|
value_template: "{{ states.sun.sun.attributes.elevation }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user