updated patio stages

This commit is contained in:
John Lancaster
2025-12-12 17:42:51 -06:00
parent 27db3be4a0
commit 610c2b68e2
2 changed files with 10 additions and 3 deletions

7
apps/stages/patio.py Normal file
View 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')

View File

@@ -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: