Skip to content
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

[BUG] last_side appears to not be correctly updated. #48

Open
lemon1324 opened this issue Dec 21, 2024 · 0 comments
Open

[BUG] last_side appears to not be correctly updated. #48

lemon1324 opened this issue Dec 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lemon1324
Copy link

Blueprint:
Zigbee2MQTT-Aqara-Magic-Cube-T1-Pro-CTP-R01-Xiaomi-Lumi.yaml

Bug Description:
The last_side number helper is created and appears as an MQTT entity, however the value of the number helper is never updated when looking at the entity history. Instead, it is always 'unavailable'

On the other hand, all group 1 actions (those not conditional on last_side) all work perfectly. The template sensor suggested to aid debugging always shows the last action as 'from side 0'.

To Reproduce:
Steps to reproduce the behavior:

  1. Import blueprint from https://github.com/SirGoodenough/HA_Blueprints/blob/master/Automations/Zigbee2MQTT-Aqara-Magic-Cube-T1-Pro-CTP-R01-Xiaomi-Lumi.yaml
  2. Click on blueprint to make an automation.
  3. Add notification action for "side 2 from any side" in group 1, scene mode.
  4. Add notification action for "side 5 from side 1" in group 3, scene mode.
  5. Side 2 action fires a notification when the cube is flipped; side 5 does not.
  6. Viewing trace of the side 5 flip shows that last_side is set to zero, and therefore skips all group 3 actions.

Expected behavior:
The number helper is being created, but I expect it to be updated with the last side each time the cube is flipped.

Screenshots:
Screenshot 2024-12-20 174622
Screenshot 2024-12-20 174711

History of number helper entity and snapshot of template sensor output.

Blueprint Version: Aqara-Magic-Cube-T1-Pro-(CTP-R01) - 2024-06-04

HA Core Version: core-2024.12.4

Installation: Home Assistant OS

YAML snippets:
N/A - attempting to use the automation directly created by the blueprint.

Additional context
Using Aqara Cube T1 Pro, CTP-R01.

See also initial post in Home Assistant Community Forum. Followed the suggested reset steps there, and the problem persists.

@lemon1324 lemon1324 added the bug Something isn't working label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant