Przeglądaj źródła

Immax Vento: minor tweaks

Removal of unneccesary mappings.  Other users may use this as a
template, so avoid confusing them with overcomplication.

Changed some naming to avoid all-caps, as this gives undue prominence
in docs.
Jason Rumney 2 lat temu
rodzic
commit
3e820fba6c

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -267,7 +267,7 @@ Further device support has been made with the assistance of users.  Please consi
 - [mattbruman](https://github.com/mattbruman) for assisting with support for Atomi ceiling fans.
 - [dh0llyw00d](https://github.com/dh0llyw00d) for assisting with support for Skyfan DC fans with light.
 - [syepes](https://github.com/syepes) for contributing support for Klarstein DryFy Connect, which was merged into Shinco 30D config, and ZN-2C09 air quality monitor.
-- [LesTR](https://github.com/LesTR) for contributing support for Immax neo light vent, early assistance with the subdevice support, and contribution of test improvements for subdevices.
+- [LesTR](https://github.com/LesTR) for contributing support for Immax neo light vento, early assistance with the subdevice support, and contribution of test improvements for subdevices.
 - [JonF-49](https://github.com/JonF-49) for contributing support for RGBW lightbulbs, Carro fan with light, and improvements to color light entities that lack color temperature control.
 - [charliesjc](https://github.com/charliesjc) for contributing support for CBI Astute smart controller breaker switches.
 - [stijnb1234](https://github.com/stijnb1234) for assisting with support for CCT lightbulbs.

+ 1 - 1
DEVICES.md

@@ -130,7 +130,7 @@
 - TMWF02 fan controller
 - Treatlife DS02-F fan switch
 - Treatlife DS03 fan with dimmable light
-- IMMAX NEO LITE VENTO SMART with light
+- Immax Neo Lite Vento ceiling fan with light
 
 ### Air Purifiers
 

+ 2 - 17
custom_components/tuya_local/devices/immax_neo_light_vento.yaml

@@ -1,4 +1,4 @@
-name: Immax NEO LITE VENTO Smart
+name: Ceiling fan
 products:
   - id: ea6vpac5hfe5rqw4
     name: Immax NEO LITE VENTO Smart
@@ -8,11 +8,6 @@ primary_entity:
     - id: 1
       type: boolean
       name: switch
-      mapping:
-        - dps_val: true
-          value: ON
-        - dps_val: false
-          value: OFF
     - id: 2
       type: string
       name: preset_mode
@@ -43,22 +38,12 @@ primary_entity:
       name: direction
       type: string
       category: config
-      mapping:
-        - dps_val: forward
-          value: forward
-        - dps_val: reverse
-          value: reverse
 secondary_entities:
   - entity: light
     dps:
       - id: 15
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            value: ON
-          - dps_val: false
-            value: OFF
   - entity: select
     name: timer
     icon: "mdi:timer"
@@ -77,4 +62,4 @@ secondary_entities:
           - dps_val: 4hour
             value: "4 hours"
           - dps_val: 8hour
-            value: "8 hours"
+            value: "8 hours"