mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +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.
|
||||
required: false
|
||||
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:
|
||||
description: An ID that uniquely identifies this binary sensor. Set this to an unique value to allow customisation through the UI.
|
||||
required: false
|
||||
@ -280,8 +276,6 @@ binary_sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
sun_up:
|
||||
entity_id:
|
||||
- sun.sun
|
||||
value_template: >-
|
||||
{{ is_state("sun.sun", "above_horizon") }}
|
||||
icon_template: >-
|
||||
|
Loading…
x
Reference in New Issue
Block a user