Open kanflo opened 2 years ago
Actually it seems a bit unfair to label this as a bug in this repo. The input text has a default max length of 100 bytes and this limit is two years in the making.
ZHA could be the culprit by suddenly creating longer events causing strings like this:
{"trigger_action": "move_MoveMode.Down_83_bitmap8.0_bitmap8.0", "last_triggered": "2022-04-13 22:47:23.227150+02:00"}
To regain dimming of lights, one first needs to bump the max length of the input texts (min
might be optional):
input_text:
johan_skrivbord_dimmer:
name: Dimmer Johans skrivbord
min: 0
max: 255
Additionally, the automation needs to adapt to the new ZHA events. See #314
Side note: as 255 is the max input string length, it seems to me HASS is written in Pascal :smile:
FYI, for reference also see this related ZHA issue discussion for Home Assistant core -> https://github.com/home-assistant/core/issues/69375
Hi @kanflo,
I'm really sorry for the long delay. I didn't notice this issue and I jumped directly in the discussion in your PR. I'll link this ticket to your Pull Request, so we can keep track of its progress as well. For anyone jumping into this now, please check out #314; there you'll find the fix for this, and the updated blueprints, which you can download and test on your HA instance. If you still experience issues, please provide your feedback in the Pull Request.
Thank you for your work and for your patience! :)
Blueprint name
Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer
Home Assistant Core Version
2022.4.3
Home Assistant Installation Type
Home Assistant Operating System
Description
Prior to 2022.3 long press on the E1743 worked like a charm using ZHA. Long press yields the following in the log:
Automation YAML config
To Reproduce
Expected behavior
The lights dimmed up or down.
Actual Behaviour
Additional Details
Screenshots
No response
Additional context