claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
78 stars 15 forks source link

BacklightAdaptative not working #259

Closed piluc88 closed 2 months ago

piluc88 commented 2 months ago

Hello Claude i don't know where to write this but i want to put the backlight off on two sinope thermostat only when i try the action in developper i have no error but when i go see the the thermostat backlight is still on. Can you help me.

Thanks

claudegel commented 2 months ago

Yes, what is the thermostat model you want to switch the backlight off. It differ between zigbee and wifi

piluc88 commented 2 months ago

TH1124ZB zigbee all my thermostat are the same model

claudegel commented 2 months ago

ok but they are not G2 model ? because G2 and wifi have another config called bedroom. With this, the backlight is on during the day and off at night.

action: neviweb130.set_backlight
data:
  entity_id: climate.neviweb130_climate_office
  type: zigbee
  backlightAdaptive: auto 

you have value 'on', always on and 'auto', turn on when you touch the thermostat button

claudegel commented 2 months ago

maybe you need quote

action: neviweb130.set_backlight
data:
  entity_id: climate.neviweb130_climate_office
  type: "zigbee"
  backlightAdaptive: "auto" 

Don't remenber

claudegel commented 2 months ago

I ned to update the doc as now services all called action. Will do it this weekend

piluc88 commented 2 months ago

ok thanks but i try with quote and no quote nothing happen when i click to perform the action i have a green check. Do you have another place i can configure the backlight. How do i know if they are not G2 or G2?

piluc88 commented 2 months ago

or maybe it is because before i was using the gt-130 and now i'm directly connected to my Home assistant so i need to use your other repo sinope-zha?

claudegel commented 2 months ago

Ok I've tested this and it give me an error: mapping values are not allowed here

##########################
##  test backlight
##########################
  - id: gestion_backlight
    alias: gestion backlight
    initial_state: True
    trigger:
      platform: time
      at: "12:05:00"
    condition: []
    action: climate.neviweb130.set_backlight
      data:
        entity_id: "climate.neviweb130_climate_cave"
        type: "zigbee"
        backlightAdaptive: "auto"
    mode: single

Let me check a little bit mor to clear that error

claudegel commented 2 months ago

If you are not using the GT130 then you have a zigbee gateway and are using ZHA or Zigbee2Mqtt. This is different. Tell me more, zha or z2m. For the G2 the model name will end with -G2

piluc88 commented 2 months ago

I’m using ZHA

thanks

claudegel commented 2 months ago

OK in ZHA there are two way to do this.

zigbee zigbee1 zigbee2

claudegel commented 2 months ago
piluc88 commented 2 months ago

thanks for your help but wiith that code i got this error Message malformed: Unable to determine action @ data['action'][0]['repeat']['sequence'][1]

and i try to change permenatly but i don't know where to write the OnDemand thing

image
claudegel commented 2 months ago

To permanently on just put a 0 in place of Backlight.Always_on and clic write attribute Then if you read back the attribute you will see Backlight.On_demand

piluc88 commented 2 months ago

Oh thanks you so much IT’s working now. Thanks for your time