Hi. Pull updated.
raw.githubusercontent.com/lsismeiro/awesome-ha-blueprints/LeidenSpain/Hook-LightāAdd-white-to-HueSat/blueprints/hooks/light/light.yaml
I found a bug, I canāt move out of white mode when holding Left arrow button. Is this expected?
Please test above and let me know if it works for you.
Cheers
Hi there.
I think I get the gist of your issue. If possible would you be able to test with the latest blueprint version (https://github.com/lsismeiro/awesome-ha-blueprints/blob/20e23499259335b8198f0452db14a7e5a051d4cc/blueprints/controllers/ikea_e2001_e2002/ikea_e2001_e2002.yaml )
You can edit the automation in YAML mode and change it from āEPMatt/ikea_e2001_e2002.yamlā to ālsismeiro/ā¦ā which is a bit more painless. Please make backups before making changes.
I will try to reproduce this
I havenāt been able to reproduce this with my version of the hook. (Iām not even the latest version from Luisā Github)
Sanity check, is this switch enabled in your Controller automation?
1 Like
I actually had that error, but I solved it with the control being at [0,0]
I review what I have posted, to see if it is an old version
1 Like
ups, the line 530 is wrong
I have fix it
# Blueprint metadata
blueprint:
name: Hook - Light
description: |
# Hook - Light
Hook automation which allows to control a light. Supports brightness and color control both for white temperature and rgb lights. Features may vary depending on the selected Controller.
An automation created with this blueprint must be linked to a [Controller](https://epmatt.github.io/awesome-ha-blueprints/blueprints/controllers) automation.
Controllers are blueprints which allow to easily integrate a wide range of controllers (wall switches, remotes, dimmers, etc.) and use them to run a set of actions when interacting with them.
They expose an abstract interface used by Hooks to create controller-based automations.
A list of controllers supported by this hook is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/light#supported-controllers).
š Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/light).
š This blueprint is part of the **[Awesome HA Blueprints](https://epmatt.github.io/awesome-ha-blueprints) project**.
ā¹ļø Version 2022.07.30
source_url: https://github.com/EPMatt/awesome-ha-blueprints/blob/main/blueprints/hooks/light/light.yaml
This file has been truncated. show original
yes yes, I just saw that itās going even worse
notice when it is fixed and solved (which means doing things quickly and without looking)
Take your time!
I donāt believe itās much worse than before!
I can update the pull once youāve got it fixed. You are more than welcome to do it yourself - but mind that I have made a new selection for Hue - Saturation with White: hs_color_white
so you will need to take that into account if you make changes
awesome-ha-blueprints/blueprints/hooks/light/light.yaml at 054d76bdacafdf8bb5fc3247e55d9c9e7b22f504 Ā· lsismeiro/awesome-ha-blueprints (github.com)
1 Like
well, now it was always going in the direction -15
1 Like
NOW
# Blueprint metadata
blueprint:
name: Hook - Light
description: |
# Hook - Light
Hook automation which allows to control a light. Supports brightness and color control both for white temperature and rgb lights. Features may vary depending on the selected Controller.
An automation created with this blueprint must be linked to a [Controller](https://epmatt.github.io/awesome-ha-blueprints/blueprints/controllers) automation.
Controllers are blueprints which allow to easily integrate a wide range of controllers (wall switches, remotes, dimmers, etc.) and use them to run a set of actions when interacting with them.
They expose an abstract interface used by Hooks to create controller-based automations.
A list of controllers supported by this hook is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/light#supported-controllers).
š Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/light).
š This blueprint is part of the **[Awesome HA Blueprints](https://epmatt.github.io/awesome-ha-blueprints) project**.
ā¹ļø Version 2022.07.30
source_url: https://github.com/EPMatt/awesome-ha-blueprints/blob/main/blueprints/hooks/light/light.yaml
This file has been truncated. show original
I have never made a github repository and it has been difficult for me to get it to save the changes.
No problem. gists are good enough.
Will merge your changes and re-test
1 Like
ok, when you have the new code with the new mode, I will copy it
I am not able to find the new full version, only the changes (I am very new to github)
New full version has not been published yet as I have not pulled the pull request
Was the only change you made changing a MINUS to a PLUS?
Just want to make sure Iāve got all of your changes before I edit
I am using the changes from your new version adding the correct codes from mine
Give me a while and Iāll publish it (or try to)
1 Like
I think I didnāt screw up this time.
# Blueprint metadata
blueprint:
name: Hook - Light
description: |
# Hook - Light
Hook automation which allows to control a light. Supports brightness and color control both for white temperature and rgb lights. Features may vary depending on the selected Controller.
An automation created with this blueprint must be linked to a [Controller](https://epmatt.github.io/awesome-ha-blueprints/blueprints/controllers) automation.
Controllers are blueprints which allow to easily integrate a wide range of controllers (wall switches, remotes, dimmers, etc.) and use them to run a set of actions when interacting with them.
They expose an abstract interface used by Hooks to create controller-based automations.
A list of controllers supported by this hook is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/light#supported-controllers).
š Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/light).
š This blueprint is part of the **[Awesome HA Blueprints](https://epmatt.github.io/awesome-ha-blueprints) project**.
ā¹ļø Version 2023.10.31 (with white mode)
source_url: https://github.com/EPMatt/awesome-ha-blueprints/blob/main/blueprints/hooks/light/light.yaml
This file has been truncated. show original
allard77
(Allard K)
November 1, 2023, 8:59am
181
Hi Lewis,
Thanks for the reply. I do have the āloop unitl releaseā enabled in the controller. And before I removed the ālast eventā line, it did go into the loop. It just never got out of the loop. In the trace, I could see that when I released the button, it went to the āchooseā section where it decides what to do with the ahb event, but since the ālast controllerā check evaluates to false, it doesnāt do anything. I havenāt attached any special action to the āreleaseā action, could that be the reason?
Also, I am experiencing this with the āmedia playerā hook, maybe that matters?
When I have time I will give the new version a go. I also have another STYRBAR with a light hook attached to it, that is acting a bit weird now, so I will first try with that one. The media player is working as expected so iād rather not mess with it atm (simply temporarily disabling the current automation and downloading the new version of the blueprint and making a new automation from that might be the safest thing to do).
1 Like
choss38
(Choss38)
November 6, 2023, 7:28am
182
Hi,
Iām not able to run an automation from this Blueprint (Version 2022.08.08.)
Got a message āStopped because an error was encountered ā¦ not a valid value for dictionary value @ data[āentity_idā]ā when I press any button.
"trace": {
"last_step": "action/2",
"run_id": "40256362ef0645011b5231b5d1464461",
"state": "stopped",
"script_execution": "error",
"timestamp": {
"start": "2023-11-05T18:31:42.672483+00:00",
"finish": "2023-11-05T18:31:42.716341+00:00"
},
"domain": "automation",
"item_id": "1699208965561",
"error": "not a valid value for dictionary value @ data['entity_id']",
"trigger": "event 'deconz_event'",
The automation is a simple toggle on/off:
id: '1699208965561'
alias: Controller - IKEA E2001/E2002 STYRBAR test
description: ''
use_blueprint:
path: EPMatt/ikea_e2001_e2002.yaml
input:
integration: deCONZ
controller_device: 7f216e6755bec19fd32fab049d626454
action_button_up_short:
- type: toggle
device_id: bfbf4d9b2c19911d376c614884204829
entity_id: 8a29849fd0e0c1d64703b4570abe902a
domain: light
I tried with other lights which work with other automation, Iāve got the same error.
Any idea where Iām wrong ?
Thanks.
choss38
(Choss38)
November 6, 2023, 7:11pm
184
Hi,
thanks for your quick answer but sadly it didnāt fix the bug. Same error
"trace": {
"last_step": "action/2",
"run_id": "5c8b1a28fc5e2d14f76dc556b3e6adf1",
"state": "stopped",
"script_execution": "error",
"timestamp": {
"start": "2023-11-06T19:07:04.720298+00:00",
"finish": "2023-11-06T19:07:04.759488+00:00"
},
"domain": "automation",
"item_id": "1699208965561",
"error": "not a valid value for dictionary value @ data['entity_id']",
"trigger": "event 'deconz_event'",
easynote
(Filipe Carvalho)
November 16, 2023, 9:56am
185
I try this plugin, use the ZHA and configurate the Ikea Styrbar and detects the actions but dont do nothingā¦
Whats wrong?
work with another Styrbar Blueprint, but not with this oneā¦