WearOS - Ewelink addon switches: Unable to find referenced entities switch.xxx
See original GitHub issueHome Assistant Android version: beta-1716-40e7907-full
Home Assistant Wear OS version: beta-1716-40e7907
Android version: 11
Wear OS version: 3
Phone model: Oneplus Nord
Watch model: Samsung Galaxy Watch 4
Last working Home Assistant release (if known): None
Description of problem:
Selecting an Ewelink Addon entity in the WearOS app doesn’t do anything but a logevent:
WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.1000a403aa
If I enable toast it shows the message eg: “Front yard lamps was selected” but the selection does nothing just the log message. Front yard lamp is switch.1000a403aa and I have tried with several other entities all with the same result. These entities are mainly coming from the Ewelink addon. My only switch that is not from ewelink is the Synology NAS Home mode. That is working perfectly and ewelink switches working from the android phone version, too.
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information:
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
That is a bug with the add-on itself and not a bug with the app because it is happening from the HA frontend. I suggest you file an issue with the add-on creator to see if switches created from it can use the
switch.toggle
service call as that is what the app uses in some areas.https://developers.home-assistant.io/docs/core/entity/switch#toggle
Closing this issue for now but do let us know the outcome of the issue you open there.
The above error message has been created on each retry (even if the switch was successful).
So basically it is not working when I call the toggle service regardless of the user interface, even from the Developer tools.