Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration don’t remember colour temperature #844

Open
soulcola opened this issue Oct 16, 2022 · 7 comments
Open

Integration don’t remember colour temperature #844

soulcola opened this issue Oct 16, 2022 · 7 comments

Comments

@soulcola
Copy link

Some devices (Xiaomi bedside lamp2, yeelight gu10 bulb color, maybe some other)
don’t remember color temperature, every time I open entity, color temperature settings reset. Device only remember rgb color

FullSizeRender.mov
@al-one
Copy link
Owner

al-one commented Oct 17, 2022

Show me the entity attributes.

@soulcola
Copy link
Author

Shure!
1459DADE-72C4-426E-AB5A-F1040745B904

@al-one
Copy link
Owner

al-one commented Oct 18, 2022

unavailable ?

@soulcola
Copy link
Author

Oh, sorry!
I made screenshot when lamp was offline. My bad

min_mireds: 154
max_mireds: 370
effect_list:
  - Color
  - Ct
supported_color_modes:
  - brightness
  - color_temp
  - hs
  - onoff
color_mode: hs
brightness: 255
hs_color:
  - 33.589
  - 81.961
rgb_color:
  - 255
  - 163
  - 45
xy_color:
  - 0.555
  - 0.405
effect: Ct
model: yeelink.light.colorc
lan_ip: 192.168.50.139
mac_address: B4:60:ED:5D:BA:F1
entity_class: MiotLightEntity
miot_type: urn:miot-spec-v2:device:light:0000A001:yeelink-colorc:1:0000C814
light.on: true
light.brightness: 100
light.color_temperature: 3247
light.color: 16753454
light.mode: 2
state_updater: lan
friendly_name: Лампа коридор light
supported_features: 55

@soulcola
Copy link
Author

No idea, man?
It seems that color_mode is always hs and dont't switches to color_temp

@soulcola
Copy link
Author

Still no changes. Device only remember color, but not color temperature

al-one added a commit that referenced this issue Feb 23, 2023
@al-one
Copy link
Owner

al-one commented Feb 23, 2023

Fixed in 5cfe22f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants