瀏覽代碼

class: temperature and leave out the name, since the class already defines one.

latel 2 年之前
父節點
當前提交
b35c5a4893
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      custom_components/tuya_local/devices/soleusair_air_purifier.yaml

+ 1 - 1
custom_components/tuya_local/devices/soleusair_air_purifier.yaml

@@ -82,7 +82,7 @@ secondary_entities:
         name: switch
         optional: true
   - entity: sensor
-    name: Temperature
+    class: temperature
     dps:
       - id: 12
         type: integer