oin/oin_thermostat/__main__.py

16 lines
287 B
Python
Raw Normal View History

2024-12-07 15:22:08 +01:00
import logging
from .mqtt import HAClient
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
client = HAClient(
"climate.chaudiere",
["sensor.esptic_tempo", "sensor.rte_tempo_prochaine_couleur"],
)
client.connect()
client.loop()