Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
788 stars 94 forks source link

Device Controls Fail to Call Service #49

Closed adam-bierschenk closed 1 year ago

adam-bierschenk commented 1 year ago

Describe the bug When changing a setting in the controls section of the device, there is an error message that states “ Failed to call service select/select_option. must contain at least one of entity_id, device_id, area_id.”

To Reproduce On the Devices screen change one of the drop downs to a different value.

Expected behavior It seems as if there is no entity or device being included in the service call as would be expected.

Screenshots 158BBCCD-3EBA-43AD-B8E8-3923DC881AD3

Additional Information (please complete the following information)

Tasshack commented 1 year ago

Changing option from dropdown menu is handled by the lovelace and service call is automatically created by the frontend. I could not reproduce this issue on both 2022.9.7 and 2022.12.0. Can you update your HA and try again to change an option from the device page?

adam-bierschenk commented 1 year ago

I'm not sure what was causing the issue. I finally renamed the device and change the area that was set and then it started working. Thanks for the response, and for all your work on the integration.