Mercurial > code > home > repos > light-bridge
diff light.py @ 22:178e020289c1
'full' button; other clean up
author | drewp@bigasterisk.com |
---|---|
date | Mon, 29 Jan 2024 13:01:23 -0800 |
parents | b8201490c731 |
children | 7d9a056e29fe |
line wrap: on
line diff
--- a/light.py Mon Jan 29 12:27:08 2024 -0800 +++ b/light.py Mon Jan 29 13:01:23 2024 -0800 @@ -102,6 +102,8 @@ _d: dict[str, Light] = {} def __init__(self, mqtt: MqttIo): + # todo: combine mqtt, aiohttp session, and pigpiod client into some + # Transports object self.mqtt = mqtt self.add(makeZbBar(mqtt, 'do-bar', '0xa4c13844948d2da4'))