Преглед на файлове

fix(madimack_elitev4_heatpump): ignore device flag for displaying power

The power seems to give valid values even when this is reporting false.
The purpose does not seem to be as a feature flag.

Issue #5590
Jason Rumney преди 1 седмица
родител
ревизия
a53148b75e
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      custom_components/tuya_local/devices/madimack_elitev4_heatpump.yaml

+ 1 - 2
custom_components/tuya_local/devices/madimack_elitev4_heatpump.yaml

@@ -248,7 +248,6 @@ entities:
         name: overclock_mode
         name: overclock_mode
   - entity: sensor
   - entity: sensor
     class: power
     class: power
-    hidden: unavailable
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 125
       - id: 125
@@ -261,7 +260,7 @@ entities:
           - scale: 1000
           - scale: 1000
       - id: 122
       - id: 122
         type: boolean
         type: boolean
-        name: available
+        name: display
   - entity: lock
   - entity: lock
     translation_key: child_lock
     translation_key: child_lock
     category: config
     category: config