mirror of
https://github.com/Dielee/volvo2mqtt.git
synced 2026-08-12 10:49:52 +02:00
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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user