-
Notifications
You must be signed in to change notification settings - Fork 8
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
aqara door sensors + value_template #38
Comments
Anything in the log with log level debug enabled? I guess you also have a master remote. So check the log and add the remote_id to the config |
Hey @RainerStaude Apologies for such late answer!! Where I live rained nonstop and it was difficult to do the debug.
I believe the template returns |
@RainerStaude Many thanks for the custom_component. All is working well here with Roto windows and their outside covers: we can actively control all Becker devices from Home Assistant; all messages from the remote controls are processed by Home Assistant. However, we have a similar issue as @m4r1k. The LOG indicates that the value_template returns either 0 or None. The TEMPLATE playground in the developer tools confirms that the definition of the value_template is indeed correct. Still, the status of the relevant entity in our dashboard doesn't update. In our case it remains closed forever. If we delete the value_template line, all is good: status of the entity is again updated. Our becker.yaml includes:
The STATES section in the developer tools does indicate something unusual. The number of attributes differs between the entity with the value_template and the other; although the definition is otherwise almost identical. It seems to us as if the travelling_time lines are somehow not taken into account if there is a value_template defined. |
Note to self: Read the code first. This certainly explains the behavior. |
@mad-sysadmin that would make sense but then the following config still does not work:
|
Let me check. |
Hey there!
I'm in love with this integration! It has automated one of the last remaining item at home.
All doors and windows have aqara sensors, integrated in HA through the Aqara E1 hub.
On HA side their status is exposed through the native HomeKit integration.
Now, with the following config, the window state (open, opening, closing, closed) becomes unresponsive.
The Window "Value Template" status in HA remains also unknown.
I kinda have a clue this issue might be related to the type of sensors exposed by the HomeKit integration, which is a
binary_sensor
.Any clue if I'm doing something wrong? The code doesn't show, to me at least, a preference for a specific type of HA sensor. Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: