Quellcode durchsuchen

Change to "status" topic

Philipp Basler vor 1 Jahr
Ursprung
Commit
e3e8f0f0b2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      switchbot_mqtt/__init__.py

+ 1 - 1
switchbot_mqtt/__init__.py

@@ -27,7 +27,7 @@ from switchbot_mqtt._actors.base import _MQTTCallbackUserdata
 
 _LOGGER = logging.getLogger(__name__)
 
-_MQTT_AVAILABILITY_TOPIC="switchbot_mqtt/availability"
+_MQTT_AVAILABILITY_TOPIC="switchbot_mqtt/status"
 # "online" and "offline" to match home assistant's default settings
 # https://www.home-assistant.io/integrations/switch.mqtt/#payload_available
 _MQTT_BIRTH_PAYLOAD="online"