Compare commits
2 Commits
dac73a8398
...
610c2b68e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
610c2b68e2 | ||
|
|
27db3be4a0 |
@@ -1,8 +1,8 @@
|
||||
bar_lights:
|
||||
main_floor:
|
||||
module: light
|
||||
class: StagedLight
|
||||
activate-at-start: true
|
||||
# transition: 3
|
||||
transition: 3
|
||||
stages:
|
||||
- start: '03:00 am'
|
||||
scene:
|
||||
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