New version : Oin Thermostat
This commit is contained in:
parent
cb53e91a4d
commit
a0e7ea91aa
8 changed files with 363 additions and 455 deletions
15
oin_thermostat/__main__.py
Normal file
15
oin_thermostat/__main__.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
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()
|
Reference in a new issue