-
Notifications
You must be signed in to change notification settings - Fork 599
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
WearOS - Ewelink addon switches: Unable to find referenced entities switch.xxx #1954
Comments
well does that entity exist in the states tab? I know nothing about the ewelink add-on but it seems it is not providing valid entities due to the HA side error. All the app does is request HA to send us a list of entities and then we execute it, nothing special. |
Looks like its a known issue, are you on the latest version of the add-on? |
What do you mean by the States tab? I can see it under Configuration/Entities. Its settings says it does not have a unique ID therefore its settings cannot be managed from the UI. |
The switches may work but the error for the entity ID needs to be solved. Are you on the latest version of the add-on as the linked issue mentions? I am not sure htis is an error the app can solve as the HA server gives us the entity ID and we just try to execute it. States tab is located inside Developer Tools section, its where all entities added to your server are shown |
Ok, I have found it, thanks! It's listed but I cannot set the state. I try to change state: 'off' to state: 'on' and the lamp is not lighting up but its state property under the Current entities table State column shows the state I set. |
The states tab does not control the device like you think it will, it just overrides the state as it mentions in the link :) Did you check the add-on is up to date with at least the version mentioned in the linked ticket? Have you tried the entity with another app feature like Android 11 device control or widgets? |
Yes, I'm on version 1.2.3 of the addon. It seems like coolkit issue#21 was fixed in version 1.2.2. |
If you make a widget for Edit: I would also check this by sending a service call using developer tools as well |
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. |
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 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. |
Home 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:
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:
The text was updated successfully, but these errors were encountered: