소스 검색

Change to "status" topic

Philipp Basler 2 년 전
부모
커밋
e3e8f0f0b2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"