Feature: Schedule devices turning on/off
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -117,8 +117,18 @@ devices:
|
||||
timeout: 60
|
||||
|
||||
|
||||
bedroom_air_filter:
|
||||
&air_filter bedroom_air_filter:
|
||||
!AirFilter
|
||||
name: "Air Filter"
|
||||
room: "Bedroom"
|
||||
topic: "pico/filter/test"
|
||||
|
||||
# Run the air filter everyday for 19:00 to 20:00
|
||||
schedule:
|
||||
0 0 19 * * *:
|
||||
on:
|
||||
- *air_filter
|
||||
|
||||
0 0 20 * * *:
|
||||
off:
|
||||
- *air_filter
|
||||
|
||||
@@ -89,7 +89,7 @@ devices:
|
||||
topic: "zigbee2mqtt/workbench/charger"
|
||||
timeout: 5
|
||||
|
||||
workbench_outlet:
|
||||
&outlet workbench_outlet:
|
||||
!IkeaOutlet
|
||||
name: "Outlet"
|
||||
room: "Workbench"
|
||||
@@ -121,4 +121,13 @@ devices:
|
||||
!AirFilter
|
||||
name: "Air Filter"
|
||||
room: "Bedroom"
|
||||
topic: "pio/filter/test"
|
||||
topic: "pico/filter/test"
|
||||
|
||||
# schedule:
|
||||
# 0/30 * * * * *:
|
||||
# on:
|
||||
# - *outlet
|
||||
#
|
||||
# 15/30 * * * * *:
|
||||
# off:
|
||||
# - *outlet
|
||||
|
||||
Reference in New Issue
Block a user