From 6a13f2f1f9f59943b11624cc15cb2fdea3be3693 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 23 Jul 2023 16:09:24 +0900 Subject: [PATCH] Merge Lytmi Fantasy3 and Lytmi Fantasy/Neo 3 configs. The newer config is just an improvement of the older one, with more unknown dps identified, and the missing color_mode dp removed. Since these are actually for the same device, they would be better as a single config, with the older name taking preference for backwards compatibility snice the newer one is not yet released. Add docs for this and other recent PRs. --- ACKNOWLEDGEMENTS.md | 7 +- DEVICES.md | 5 +- .../devices/lytmi_fantasy3_hdmi_syncbox.yaml | 155 ------------------ .../devices/lytmi_hdmisync_backlight.yaml | 144 ++++++++++++---- 4 files changed, 123 insertions(+), 188 deletions(-) delete mode 100644 custom_components/tuya_local/devices/lytmi_fantasy3_hdmi_syncbox.yaml diff --git a/ACKNOWLEDGEMENTS.md b/ACKNOWLEDGEMENTS.md index a44f9c1139..471773fe1b 100644 --- a/ACKNOWLEDGEMENTS.md +++ b/ACKNOWLEDGEMENTS.md @@ -160,7 +160,7 @@ Further device support has been made with the assistance of users. Please consi - [Andreasjkoch](https://github.com/Andreasjkoch) for contributing support for Eeese Carl dehumidifiers. - [ppprpd](https://github.com/ppprpd) for contributing support for Netmostat N-1 thermostats. - [Pokemowka25](https://github.com/Pokemowka26) for assistance supporting Kyvol EA200 humidifiers. -- [spuljko](https://github.com/spuljko) for contributing support for YYM-805SW aroma diffuser with nightlight, BlitzWolf BWSH5 humidifier and Klarstein DryFy Pro Connect dehumidifier. +- [spuljko](https://github.com/spuljko) for contributing support for YYM-805SW aroma diffuser with nightlight, BlitzWolf BWSH5 humidifier, Klarstein DryFy Pro Connect dehumidifier, and Aubess Rainpoint irrigation system. - [raphaelcouzet](https://github.com/raphaelcouzet) for contributing support for Arlec motion sensor lights which were used to improve Deta motion light support. - [TheExenth](https://github.com/TheExenth) for assistance supporting Salcar T9W thermostats, and identifying the likely identical Tellur model. - [MadDoct](https://github.com/MadDoct) for contributing support for RGB nightlight sockets. @@ -225,7 +225,7 @@ Further device support has been made with the assistance of users. Please consi - [thewolf-oz](https://github.com/thewolf-oz) for assisting with support for Arlec 12-speed tower fans, 6-speed floor fans and 19-speed wall fans, and contributing support for Arlec/Deta dimming lightbulbs and two Arlec panel heaters. - [dhuddle](https://github.com/dhuddle) for assisting with support for Chanfok ceiling fan with light, Inkbird BBQ thermometer, Lepro lights (variant of RGBCW light without timer) and Yieryi pH meter. - [theshop35](https://github.com/theshop35) for assisting with support for CC curtains. -- [blakadder](https://github.com/blakadder) for contributing support for Ultonic K10 air fryer and documentation improvements. +- [blakadder](https://github.com/blakadder) for contributing support for Ultonic K10 air fryer, improvements to ZY-M100 presence sensors and documentation improvements. - [szupi-ipuzs](https://github.com/szupi-ipuzs) for contributing support for desk lamps (Setti+ SL601), Loratap relays, Brennenstuhl WFD3050P motion spotlights. - [MackoMici](https://github.com/MackoMici) for contributing support for GX aroma diffuser, which was merged with the YYM config. - [Die-Meester](https://github.com/Die-Meester) for contributing support for CBI Astute smart switches. @@ -317,3 +317,6 @@ Further device support has been made with the assistance of users. Please consi - [madchuska](https://github.com/madchuska) for contributing support for Kogan air purifiers. - [bskjon](https://github.com/bskjon) for contributing support for Woods Milan air conditioner and Norwegian translations. - [jamarju](https://github.com/jamarju) for contributing support for Garza Wi-Fi garden irrigation systems. +- [iotinkognito](https://github.com/iotinkognito) for contributing support for Makegood double power points. +- [luyzfernando08](https://github.com/luyzfernando08) for contributing support for GauTone PG-103 alarm systems. +- [jafar-atili](https://github.com/jafar-atili) for contributing improvements to Lytmi Fantasy 3 HDMI sync backlights. diff --git a/DEVICES.md b/DEVICES.md index 21eec1fb8d..541ac2a96d 100644 --- a/DEVICES.md +++ b/DEVICES.md @@ -266,6 +266,7 @@ the best option. - Linkoze LKWSW201 dual button - Logicom Strippy 4 way power strip with USB - Loratap RR400W-V2 relay switch +- Makegood double power point (sold under AusElectronicsDirect, Cleverlife, Kogan, Ozsmartthings and other brands) - Mirabella Genio smartplug with USB - Moes 3-gang switch - MoesHouse smartplug with RGBW nightlight @@ -397,6 +398,7 @@ of device. ### Alarm control panels - BlitzWolf BW-IS6 security alarm system +- GauTone PG-103 security alarm system - ZX-DB11 doorbell and alarm system - ZX-G30 alarm system @@ -404,12 +406,14 @@ of device. - generic PIR motion sensor - generic illuminance sensor +- Aubess Rainpoint TTP106W irrigation system - Brennenstuhl WFD3050P PIR motion activated CCT spotlight - Bresser smart 7-in-1 weather station - Catit Pixi smart fountain - Catit pet feeder (Pixi 2.2kg dispenser and 6 meal versions, and another non-Pixi branded single dispenser) - CO2-Box air quality monitor - Emax EM3378 Weather Station (selling as Hiper P1 and other rebrands) +- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub) - Inkbird PTH-9CW air quality monitor - KKMoon 7in1 air quality monitor - Kogan bidet toilet seat @@ -429,7 +433,6 @@ of device. - ZN-2C09 9-in-1 air quality monitor - ZX-GS21 gas leak alarm monitor - ZY-M100-WiFi mmWave human presence sensor -- Garza Wi-Fi garden irrigation system model: ITV103W, ref: 401303. Connects to Wi-Fi hub via 433 MHz RF. ### Devices supported via Bluetooth hubs diff --git a/custom_components/tuya_local/devices/lytmi_fantasy3_hdmi_syncbox.yaml b/custom_components/tuya_local/devices/lytmi_fantasy3_hdmi_syncbox.yaml deleted file mode 100644 index 554b382463..0000000000 --- a/custom_components/tuya_local/devices/lytmi_fantasy3_hdmi_syncbox.yaml +++ /dev/null @@ -1,155 +0,0 @@ -name: HDMI sync backlight -products: - - id: bfedc6cf9dcae291b04ecj - name: Lytmi Fantasy 3 -primary_entity: - entity: light - dps: - - id: 20 - name: switch - type: boolean - - id: 22 - name: brightness - type: integer - range: - min: 10 - max: 1000 - mapping: - - scale: 3.92 - - id: 24 - name: rgbhsv - type: hex - format: - - name: h - bytes: 2 - range: - min: 0 - max: 360 - - name: s - bytes: 2 - range: - min: 0 - max: 1000 - - name: v - bytes: 2 - range: - min: 0 - max: 1000 - - id: 101 - type: integer - name: unknown_101 - - id: 107 - type: boolean - name: unknown_107 - -secondary_entities: - - entity: switch - name: TV synchronization switch - category: config - dps: - - id: 109 - name: switch - type: boolean - - entity: select - name: HDMI Input - icon: "mdi:hdmi-port" - category: config - dps: - - id: 105 - type: integer - name: option - mapping: - - dps_val: 0 - value: HDMI 1 - - dps_val: 1 - value: HDMI 2 - - dps_val: 2 - value: HDMI 3 - - dps_val: 3 - value: HDMI 4 - - entity: select - name: Setup side - icon: "mdi:arrow-collapse-horizontal" - category: config - dps: - - id: 101 - type: integer - name: option - mapping: - - dps_val: 0 - value: Right - - dps_val: 1 - value: Left - - entity: number - category: config - name: Degree of diffusion - type: integer - mode: slider - dps: - - id: 108 - name: value - type: integer - precision: 0 - range: - min: 10 - max: 1000 - mapping: - - scale: 10 - step: 10 - - entity: select - name: Scene - format: - - name: scene_num - bytes: 2 - range: - min: 1 - max: 8 - icon: "mdi:palette" - category: config - dps: - - id: 25 - type: string - name: option - mapping: - - dps_val: "80000000000000000000000000000000" - value: Sync - Video - - dps_val: "81000000000000000000000000000000" - value: Sync - Recreation - - dps_val: "82000000000000000000000000000000" - value: Sync - Game - - dps_val: "98000000000000000000000000000000" - value: Music - Classic - - dps_val: "99000000000000000000000000000000" - value: Music - Pop - - dps_val: "9A000000000000000000000000000000" - value: Music - Rock - - dps_val: "9B000000000000000000000000000000" - value: Music - Absolute - - dps_val: "9C000000000000000000000000000000" - value: Music - Electror - - dps_val: "9D000000000000000000000000000000" - value: Music - Ambient - - dps_val: "86000000000000000000000000000000" - value: Scene - Rainbow - - dps_val: "87000000000000000000000000000000" - value: Scene - Fire - - dps_val: "88000000000000000000000000000000" - value: Scene - Read - - dps_val: "89000000000000000000000000000000" - value: Scene - Firework - - dps_val: "90000000000000000000000000000000" - value: Scene (Color) - Star - - dps_val: "91000000000000000000000000000000" - value: Scene (Color) - Drip - - dps_val: "92000000000000000000000000000000" - value: Scene (Color) - Practice - - dps_val: "93000000000000000000000000000000" - value: Scene (Color) - Flow - - dps_val: "94000000000000000000000000000000" - value: Scene (Color) - Ball - - dps_val: "95000000000000000000000000000000" - value: Scene (Color) - Swing - - dps_val: "96000000000000000000000000000000" - value: Scene (Color) - Breath - - dps_val: "97000000000000000000000000000000" - value: Scene (Color) - Pure diff --git a/custom_components/tuya_local/devices/lytmi_hdmisync_backlight.yaml b/custom_components/tuya_local/devices/lytmi_hdmisync_backlight.yaml index 2114fca112..e40fda3578 100644 --- a/custom_components/tuya_local/devices/lytmi_hdmisync_backlight.yaml +++ b/custom_components/tuya_local/devices/lytmi_hdmisync_backlight.yaml @@ -2,27 +2,14 @@ name: HDMI sync backlight products: - id: js0t2z9y1tnphvds name: Lytmi Fantasy/Neo 3 + - id: bfedc6cf9dcae291b04ecj + name: Lytmi Fantasy 3 primary_entity: entity: light dps: - id: 20 name: switch type: boolean - - id: 21 - name: color_mode - type: string - optional: true - mapping: - - dps_val: white - value: white - - dps_val: colour - value: hs - - dps_val: scene - value: scene - - dps_val: music - value: music - - dps_val: null - value: hs - id: 22 name: brightness type: integer @@ -50,21 +37,118 @@ primary_entity: range: min: 0 max: 1000 - - id: 25 - type: hex - name: scene - - id: 101 - type: integer - name: unknown_101 - - id: 105 - type: integer - name: unknown_105 - id: 107 type: boolean name: unknown_107 - - id: 108 - type: integer - name: unknown_108 - - id: 109 - type: boolean - name: unknown_109 + +secondary_entities: + - entity: switch + name: TV synchronization switch + category: config + dps: + - id: 109 + name: switch + type: boolean + - entity: select + name: HDMI Input + icon: "mdi:hdmi-port" + category: config + dps: + - id: 105 + type: integer + name: option + mapping: + - dps_val: 0 + value: HDMI 1 + - dps_val: 1 + value: HDMI 2 + - dps_val: 2 + value: HDMI 3 + - dps_val: 3 + value: HDMI 4 + - entity: select + name: Setup side + icon: "mdi:arrow-collapse-horizontal" + category: config + dps: + - id: 101 + type: integer + name: option + mapping: + - dps_val: 0 + value: Right + - dps_val: 1 + value: Left + - entity: number + category: config + name: Degree of diffusion + type: integer + mode: slider + dps: + - id: 108 + name: value + type: integer + precision: 0 + range: + min: 10 + max: 1000 + mapping: + - scale: 10 + step: 10 + - entity: select + name: Scene + format: + - name: scene_num + bytes: 2 + range: + min: 1 + max: 8 + icon: "mdi:palette" + category: config + dps: + - id: 25 + type: string + name: option + mapping: + - dps_val: "80000000000000000000000000000000" + value: Sync - Video + - dps_val: "81000000000000000000000000000000" + value: Sync - Recreation + - dps_val: "82000000000000000000000000000000" + value: Sync - Game + - dps_val: "98000000000000000000000000000000" + value: Music - Classic + - dps_val: "99000000000000000000000000000000" + value: Music - Pop + - dps_val: "9A000000000000000000000000000000" + value: Music - Rock + - dps_val: "9B000000000000000000000000000000" + value: Music - Absolute + - dps_val: "9C000000000000000000000000000000" + value: Music - Electror + - dps_val: "9D000000000000000000000000000000" + value: Music - Ambient + - dps_val: "86000000000000000000000000000000" + value: Scene - Rainbow + - dps_val: "87000000000000000000000000000000" + value: Scene - Fire + - dps_val: "88000000000000000000000000000000" + value: Scene - Read + - dps_val: "89000000000000000000000000000000" + value: Scene - Firework + - dps_val: "90000000000000000000000000000000" + value: Scene (Color) - Star + - dps_val: "91000000000000000000000000000000" + value: Scene (Color) - Drip + - dps_val: "92000000000000000000000000000000" + value: Scene (Color) - Practice + - dps_val: "93000000000000000000000000000000" + value: Scene (Color) - Flow + - dps_val: "94000000000000000000000000000000" + value: Scene (Color) - Ball + - dps_val: "95000000000000000000000000000000" + value: Scene (Color) - Swing + - dps_val: "96000000000000000000000000000000" + value: Scene (Color) - Breath + - dps_val: "97000000000000000000000000000000" + value: Scene (Color) - Pure