15 lines
287 B
Python
15 lines
287 B
Python
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()
|