mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Update schedule sensor referencen (#30914)
The schedule helper now creates a `schedule` sensor instead of a binary sensor. I am not sure when this changed, but when I added a schedule helper on 2024.1.3 it did not create a binary_sensor but instead a schedule sensor that has an on/off state.
This commit is contained in:
parent
7ef404dc1e
commit
81743d0a9a
@ -104,13 +104,13 @@ automations and templates.
|
||||
|
||||
### Automation example
|
||||
|
||||
A schedule creates an on/off (binary) sensor within the times set. Using the thermostat schedule example above, you can turn on your thermostat:
|
||||
A schedule creates an on/off (schedule) sensor within the times set. Using the thermostat schedule example above, you can turn on your thermostat:
|
||||
|
||||
```yaml
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.thermostat_schedule
|
||||
- schedule.thermostat_schedule
|
||||
to: "on"
|
||||
action:
|
||||
- service: climate.turn_on
|
||||
|
Loading…
x
Reference in New Issue
Block a user