-
Notifications
You must be signed in to change notification settings - Fork 46
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
Device not created for pure event emitter #14
Comments
Hmmm...I think I know what's happening there. Since the minimote has no sensors, no device is being created for it in Home Assistant. Even though events are probably being emitted in HA for button presses, it's hard to do much in HA without a device as a basis. I need to update the code to create devices for pure event emitters (like the minimote). |
This appears to be broken in 0.5.2. Reopening. |
This seems to have been broken when the code to create event emitters was moved to entitys.py. The new function is async, but switch wasn't awaiting it. references #14
This is fixed in v0.5.3. |
ignore. a 2nd reboot of Home Assistant and there it is! |
I have two different button controllers in my setup, Xiaomi and Aeon. The Xiaomi works great in HA and shows all buttons plus battery state. I also have an Aeon Minimote that is not seen or added to HA
I’ve added it’s capabilities below Incase that helps. I notice it isn’t a “sensor” but it also doesn’t report battery life so not sure I expect to see that.
I’m running your latest build and don’t see any error logs.
[{"capabilities":["Configuration","Actuator","HoldableButton",{"attributes":[{"name":"held","currentValue":"1","dataType":"NUMBER","values":null}]},"PushableButton",{"attributes":[{"name":"numberOfButtons","currentValue":"4","dataType":"NUMBER","values":null},{"name":"pushed","currentValue":"2","dataType":"NUMBER","values":null}]}]}]
The text was updated successfully, but these errors were encountered: