-
Notifications
You must be signed in to change notification settings - Fork 273
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
One device discovered multiple times #2834
Comments
Do you have this issue after a recent upgrade, or you had duplications longer already? Could you please enable debug logging and share logs after restart? |
In a glimpse of your screenshot I see all kind of segment lights. Segment 006, 007. |
@michalk-k could you provide more information about this govee2mqtt device and underlying entities? |
Sure. It's |
... buffering. Please hold while your response loads ;-) |
Yes, sure. Afaik more govee lamps exposes similar approach.
Moreover those lamps (via Govee2Mqtt addon) provides light as well as switch entity. I don't know the reason of the switch existence yet. BTW there are at least 3 govee integrations available. One is HA-core built-in. this one doesn't provide sections control. Do not hesitate to ask for more. PS I write on mobile, Previously I hit save accidentally. |
Hmm ok, pretty sure this profile was made with 1 light control, which controls the full array of segments. When this profile is now used / binded to each segment it will not have correct power consumption, because than each segment will calculate power which is made the whole light, so it will be 15x too much. Need to think about a resolution. |
It won't be an easy one though. |
I'm not sure how I can see that in the data (the difference in the behaviour of the toggle). How does the main light behave? When you toggle it does it enable all segments or does it only turn on the certain segments which were enabled before? |
Here are jsons {"aliases":[],"area_id":null,"categories":{},"capabilities":{"min_color_temp_kelvin":2000,"max_color_temp_kelvin":9009,"min_mireds":111,"max_mireds":500,"effect_list":["","Accumulation","ARRAKIS","Aurora","Birthday","Blossom","Bouncing Ball","Bubble","Candy","Carnival","Cheerful","Cherry blossoms","Christmas","Downpour","Dreamland","Dreamlike","Electro Dance","Father's Day","Fight","Fire","Fireworks","Forest","Game","Glacier","Halloween","Heartbeat","Journey of Flowers","Karst Cave","Lake","Leisure","Leisurely","Light","Meteor","Morning","Mother's Day","Movie","Music: Bounce","Music: Calm","Music: CandyCrush","Music: Dynamic","Music: Energic","Music: Fusion","Music: Hopping","Music: Luminous","Music: Separation","Music: Skittles","Music: Strike","Music: Torch","Music: Vibrate","Night","Night Light","Party","Profound","Rainbow","Rainbow-A","Rainbow-B","Release","Ripple","Romantic","Rush","Rustling leaves","SPICE","Stacking","Study","Sunrise","Sunset","Sweet","Swing","Technology","Tenderness","The Piano","Tunnel","Valentine's Day","Volcano","Warm","Wave","Work"],"supported_color_modes":["color_temp","rgb"]},"config_entry_id":"60ce6d798552456d8abb9f4d5b9bb9f8","created_at":"2024-12-06T09:59:56.100269+00:00","device_class":null,"device_id":"e4be5b1536edd04751e0fd6166b36276","disabled_by":null,"entity_category":null,"entity_id":"light.floor_lamp_livingroom","hidden_by":null,"icon":null,"id":"5f24ed16c5fabc8041a94bae482f4b61","has_entity_name":true,"labels":[],"modified_at":"2024-12-06T09:59:56.104809+00:00","name":null,"options":{"conversation":{"should_expose":true}},"original_device_class":null,"original_icon":"mdi:floor-lamp","original_name":null,"platform":"mqtt","supported_features":44,"translation_key":null,"unique_id":"gv2mqtt-F23DD0C844866B65","previous_unique_id":null,"unit_of_measurement":null} for its segment {"aliases":[],"area_id":null,"categories":{},"capabilities":{"effect_list":null,"supported_color_modes":["rgb"]},"config_entry_id":"60ce6d798552456d8abb9f4d5b9bb9f8","created_at":"2024-12-06T09:59:56.505452+00:00","device_class":null,"device_id":"e4be5b1536edd04751e0fd6166b36276","disabled_by":null,"entity_category":null,"entity_id":"light.floor_lamp_livingroom_segment_001","hidden_by":null,"icon":null,"id":"f9608692b3dde891f59f87055f817eea","has_entity_name":true,"labels":[],"modified_at":"2024-12-06T09:59:56.508627+00:00","name":null,"options":{"conversation":{"should_expose":true}},"original_device_class":null,"original_icon":null,"original_name":"Segment 001","platform":"mqtt","supported_features":44,"translation_key":null,"unique_id":"gv2mqtt-F23DD0C844866B65-0","previous_unique_id":null,"unit_of_measurement":null} tbh cannot see anything 100% useful :( |
speaking about turning on sections. they cannot be turned on with main light turned off. What makes it more unpredictable for power measurěemt is, that from govee app it's possible to turn on selected segment leaving others turned off. It seems impossible with use of the integration (you can still toggle the whole light - it doesn't change segments config set with govee app) |
Segments are skipped for discovery now with: #2843 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@RubenKelevra hmm I see. I have just started working on a new feature so we can set a However needs refactoring on a lot of places, so it's not done yet. Might be done in a few days. |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
Not sure is it PowerCalc or HA responsible for this glitch...
I found a very similar issue (if not the same), but it has been closed: #2737
Look at screenshot. It shows two devices
Floor Lamp Basic
andFloor Lamp Livingroom
, each one listed nine timesIt turned out 8 of them are from single device, mqtt-based govee2mqtt.
Reproduction steps
N/A
Debug logs
Diagnostics dump or YAML config
No response
The text was updated successfully, but these errors were encountered: