mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Removed deprecated entity_id option (#14847)
Removed the deprecated entity_id option for the binary_sensor template
This commit is contained in:
parent
11764bdb49
commit
0654eb8f79
@ -47,10 +47,6 @@ sensors:
|
|||||||
description: Name to use in the frontend.
|
description: Name to use in the frontend.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
entity_id:
|
|
||||||
description: A list of entity IDs so the sensor only reacts to state changes of these entities. This can be used if the automatic analysis fails to find all relevant entities.
|
|
||||||
required: false
|
|
||||||
type: [string, list]
|
|
||||||
unique_id:
|
unique_id:
|
||||||
description: An ID that uniquely identifies this binary sensor. Set this to an unique value to allow customisation through the UI.
|
description: An ID that uniquely identifies this binary sensor. Set this to an unique value to allow customisation through the UI.
|
||||||
required: false
|
required: false
|
||||||
@ -280,8 +276,6 @@ binary_sensor:
|
|||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
sun_up:
|
sun_up:
|
||||||
entity_id:
|
|
||||||
- sun.sun
|
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ is_state("sun.sun", "above_horizon") }}
|
{{ is_state("sun.sun", "above_horizon") }}
|
||||||
icon_template: >-
|
icon_template: >-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user