updated patio stages
This commit is contained in:
7
apps/stages/patio.py
Normal file
7
apps/stages/patio.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
from light import StagedLight
|
||||||
|
|
||||||
|
|
||||||
|
class Patio(StagedLight):
|
||||||
|
def initialize(self):
|
||||||
|
super().initialize()
|
||||||
|
self.run_daily(lambda **kwargs: self.turn_on('light.patio', brightness=100), start='sunset - 31s')
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
patio:
|
patio:
|
||||||
module: light
|
module: patio
|
||||||
class: StagedLight
|
class: Patio
|
||||||
activate-at-start: true
|
activate-at-start: true
|
||||||
transition: 5
|
transition: 30
|
||||||
stages:
|
stages:
|
||||||
- start: '01:00 am'
|
- start: '01:00 am'
|
||||||
scene:
|
scene:
|
||||||
|
|||||||
Reference in New Issue
Block a user