make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.18k stars 482 forks source link

Request support for (See Attached YML) - Geeni GN-BW233 / GN-BW230 #1360

Open fireheadman opened 9 months ago

fireheadman commented 9 months ago

Please see attached YML file, Took advice of Beared Tinker and created the configuration and tested it.

Log Message

No Logs

Information about DPS mappings

3 DPs, listed in YML

Product ID

3 Product IDs that all behave the same way. hvfqgkigk9nj0p6p 41xqxqiflb6lqaqv gbi4ljmlyrxx23mz

Information about how the device functions

fireheadman commented 9 months ago
homeassistant:/config/custom_components/tuya_local/devices# cat geeni_edison_globe_wifi.yaml

name: Geeni LUX Edison lightbulb
products:
  - id: hvfqgkigk9nj0p6p
    model: GN-BW223-999
    manufacturer: Geeni
  - id: 41xqxqiflb6lqaqv
    model: GN-BW223-999
    manufacturer: Geeni
  - id: gbi4ljmlyrxx23mz
    model: GN-BW230-999
    manufacturer: Geeni
primary_entity:
  entity: light
  dps:
    - id: 1
      type: boolean
      name: switch
    - id: 2
      name: brightness
      type: integer
      range:
        min: 25
        max: 255
    - id: 3
      name: color_temp
      type: integer
      range:
        min: 0
        max: 255
      mapping:
        - target_range:
            min: 2700
            max: 6500

image image image image

fireheadman commented 9 months ago

this works perfect.... hoping you can use this easier than my last request for these? If not, at least I have them in my devices and documented incase an update wipes them

fireheadman commented 9 months ago

actually... do have a small request for info.... How do you get the Model info to populate as the regular Tuya app does? image

fireheadman commented 9 months ago

if needed....

https://github.com/fireheadman/tuya-local-yamls/blob/main/geeni_edison_globe_wifi.yaml