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:
|
||||
module: light
|
||||
class: StagedLight
|
||||
module: patio
|
||||
class: Patio
|
||||
activate-at-start: true
|
||||
transition: 5
|
||||
transition: 30
|
||||
stages:
|
||||
- start: '01:00 am'
|
||||
scene:
|
||||
|
||||
Reference in New Issue
Block a user