Просмотр исходного кода

Electriq EcoSilent 14HPW: updates for 12HPW

12HPW seems identical, except for the mode "smartcool" instead of "smart_cool".
"smartcool" is also used by EcoSilent 12WAP, so likely this was a typo in
the original config.

Update name to follow modern non-branded convention, and add a dummy products
section (commented out due to no product ids known)

Remove superfluous constraint with no conditions.

PR #3136
Jason Rumney 10 месяцев назад
Родитель
Сommit
014736a05f

+ 2 - 1
ACKNOWLEDGEMENTS.md

@@ -881,4 +881,5 @@ Further device support has been made with the assistance of users. Please consid
 - [thestumonkey](https://github.com/thestumonkey) for contributing support for Outon smart lamp.
 - [Katawengineering](https://github.com/Katawengineering) for contributing support for Demuda MPPT solar charge controller.
 - [buschtoens](https://github.com/buschtoens) for contributing support for CST WB V1 cover switch with backlight.
-- [leksts](https://github.com/leksts) for contributing support for Eurom WiFi thermostat.
+- [leksts](https://github.com/leksts) for contributing support for Eurom WiFi thermostat
+- [XargsUK](https://github.com/XargsUK) for contributing support for Electriq EcoSilent 12HPW, which was merged with 14HPW.

+ 6 - 3
custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml

@@ -1,4 +1,8 @@
-name: ElectriQ EcoSilent14HPW
+name: Air conditioner
+# products:
+#   - id: UNKNOWN
+#     manufacturer: Electriq
+#     model: EcoSilent 14HPW / 12HPW
 entities:
   - entity: climate
     dps:
@@ -15,7 +19,7 @@ entities:
                 value: fan_only
               - dps_val: "heat"
                 value: heat
-              - dps_val: "smart_cool"
+              - dps_val: "smartcool"
                 value: auto
               - dps_val: "dry"
                 value: dry
@@ -92,7 +96,6 @@ entities:
         type: boolean
         mapping:
           - dps_val: false
-            constraint: hvac_mode
             value: "off"
           - dps_val: true
             value: vertical