athom-tech / athom-configs

Athom Technology Official Center
MIT License
212 stars 134 forks source link

athom-rgbct-light: changed behaviour since updates #92

Open DoogeJ opened 1 month ago

DoogeJ commented 1 month ago

I've recently updated the firmware on my 'athom-rgbct-light' (15W color bulb) lights to 2024.9.x (from something from 2023). In this example I'm using one that has the name and friendly_name set to 'bedroom-light'

This changed the behavior in a few annoying ways:

I think the reason is the changes in e1b4785afa538e04f53a399765187848fe1f3db9 but I'm not sure about all technical details.

Contents of my bedroom-light.yaml ESPHome configuration for this example:

substitutions:
  name: bedroom-light
  friendly_name: bedroom-light
packages:
  athom.rgbct-light: github://athom-tech/athom-configs/athom-rgbct-light.yaml
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: *snip*

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
tarontop commented 1 month ago

It should have an option to select the power on state

QQ_1728988936520

DoogeJ commented 1 month ago

It should have an option to select the power on state

QQ_1728988936520

Hi, thank you for your reply! I checked and this is indeed set to 'Always off'; however when I change this setting, then turn off the power - it resets to 'Always off' whenever the light comes back online.

IMG_9842

tarontop commented 1 month ago

The configuration is saved after 1 minute, so when you change the option, test the power off 1 minute later.

https://github.com/athom-tech/athom-configs/blob/ad06504849039c6efa5a675248e54c6864752d25/athom-rgbct-light.yaml#L101