ソースを参照

Fix name generator

Christopher Mullins 6 年 前
コミット
7dad7f3e84
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      lib/MQTT/HomeAssistantDiscoveryClient.cpp

+ 1 - 1
lib/MQTT/HomeAssistantDiscoveryClient.cpp

@@ -117,7 +117,7 @@ String HomeAssistantDiscoveryClient::buildTopic(const BulbId& bulbId) {
 
   topic += "light/";
   // Use a static ID that doesn't depend on configuration.
-  topic += "milight_hub_" + (ESP.getChipId());
+  topic += "milight_hub_" + String(ESP.getChipId());
 
   // make the object ID based on the actual parameters rather than the alias.
   topic += "/";