Allow multiple vcc api keys (#85)

* Multiple vccapikeys function

* Reduce api calls for key checks

* Change sleeptime

* Optimize logging

* Format log datetime

* Change default conf

* Set device offline, if no working vcc api key can be found

* Fix climate scheduler

* Only redact sensitive data if debug is enabled
This commit is contained in:
Linus Dietz
2023-08-17 10:43:03 +02:00
committed by GitHub
parent a05bf487bd
commit 075102c574
10 changed files with 154 additions and 25 deletions
+5
View File
@@ -352,3 +352,8 @@ def create_ha_devices():
def send_heartbeat():
mqtt_client.publish(availability_topic, "online")
def send_offline():
mqtt_client.publish(availability_topic, "offline")