-
-
Notifications
You must be signed in to change notification settings - Fork 27
Description
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:
- Import blueprint from https://github.com/SirGoodenough/HA_Blueprints/blob/master/Automations/Zigbee2MQTT-Aqara-Magic-Cube-T1-Pro-CTP-R01-Xiaomi-Lumi.yaml
- Click on blueprint to make an automation.
- Add notification action for "side 2 from any side" in group 1, scene mode.
- Add notification action for "side 5 from side 1" in group 3, scene mode.
- Side 2 action fires a notification when the cube is flipped; side 5 does not.
- Viewing trace of the side 5 flip shows that
last_sideis 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.
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.

