SirGoodenough / HA_Blueprints

🧯 My Collection of Automation and Script Blueprints for Home Assistant 🧯
Other
132 stars 22 forks source link

[BUG] Cube face 0 is shown in Blueprint but it responds as face 6 in reality #21

Closed SirGoodenough closed 11 months ago

SirGoodenough commented 11 months ago

Which Blueprint is This Concern About / Related To? https://github.com/SirGoodenough/HA_Blueprints/blob/master/Automations/Zigbee2MQTT-Aqara-Magic-Cube-T1-Pro-CTP-R01-Xiaomi-Lumi.yaml

Describe the bug Descriptions and alias's talk about side 0 which doesn't exist instead of side 6 which does exist.

To Reproduce https://discord.com/channels/693125294957133844/693156036214915082/1161268909094223902 As reported by CaptNightFlight on my Discord site: Let me clarify: Yes, my cube is reporting from 1-6, but the issue is that some options from here require "face 0", which my cube does not got the 0 side, therefore I cannot use any event functions which need a 0 to trigger. Seemed that the script is using 0-5, but the cube is running from 1-6? image

Expected behavior Descriptions and aliases should match actual on the cube.

Screenshots Hi <@518814283170054165> , hope you're doing well! I have been trying to use my newly purchased Magic Cube T1 Pro with the Xiaomi Cube Controller MQTT Triggred Blueprint, but unfortunately, it does not work at the very beginning: image What I have done: -Inputted the topic -Legacy API Enabled -Tested 5+ devices/actions but still forced to stop at the "Test template condition" stages -Confirmed the HA is receiving actions made from the cube. image image I just looked into the prior triggers, and I'm now able to enjoy the joy with the great blueprint scripts. Thank you so much! Just one thing to mention: my cube recognizes the 'Aqara' side as face 1 (instead of face 0). As a result, my face 6 is now not working since there's no field for face 6 in the GUI setting. Are there any ways to fix that? What version of the blueprint has the issue? 2023-08-07

What was the version of Home Assistant Core? current

What type of installation are you running? Open your Home Assistant instance and show health information about your system.

YAML snippets INCLUDING the Script or Automation that you built to call the blueprint (use 3 backticks before and after your code to format it properly) See here for example: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks

Additional context This issue was translated from messages on my Discord.

SirGoodenough commented 11 months ago

Verified that in 12 places in descriptions and alias's I refer to side 0 instead of side 6. Typo / translation error on my part. The entire time these were responding to side 6 actions and not kicking up an error. The error was in the BP questions and the trace aliases when troubleshooting.

Went thru and edited these references to reflect actual.

SirGoodenough commented 11 months ago

Closed with edit of descriptions and aliases where said '''side 0''' change to '''side 6'''.