-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Broken since Hass 2023.12 beta #316
Comments
Same issue here for official 2023.12. Please help fixing this! Thanks! |
I confirm, i'm going back to 2023.11.3 version |
I had issues in 2023.12, rolling back to 2023.11.3 solved them. One of my entity controllers would stay stuck forever in an 'active' state - I coulnd't figure out why. Others would work fine. Here's the config of the one messing around:
I'm using scripts because depending on external sensorsI like my lights to behave one way or another |
I dont know if its related I found an issue in one my blueprints where json wasn't being handled correctly post update - any chance this is related? |
Yes, same here. I have quite a few rooms using EC, some still work perfectly but others just don't turn the lights on even though the controlling motion detectors show motion. Yes, returned to 11.3 and working again. |
Same here |
Same issue. EC stopped working. This is painful, I relied a lot of this good component. I am not so sure that this component is still maintained. |
@danobot Hi Daniel, |
There is always a chance for a solution ... just depends how long you want to wait ... I dont really think .12 added much over .11 12.1 fixed an issue I had with one of my blueprints so keep your fingers crossed |
Strangely, one of my three entity controllers is still working ok! The
other two are not.
…On Sun, 10 Dec 2023, 12:16 Jeef, ***@***.***> wrote:
There is always a chance for a solution ... just depends how long you want
to wait ... I dont really think .12 added much over .11
12.1 fixed an issue I had with one of my blueprints so keep your fingers
crossed
—
Reply to this email directly, view it on GitHub
<#316 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANP4WKL65QZG6M7UBI2TDETYIWRZDAVCNFSM6AAAAABAJU3KHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYHE2DQMRVGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
To fix the issue, I updated the configuration.yaml file by using a list format for specifying sensors and entities. Instead of directly assigning a single sensor or entity. See example below: VS (Doesn't Work): |
Thank you! That worked for me and it showed why one of my three controllers
wasn't affected.
…On Sun, 10 Dec 2023, 19:21 jddayley, ***@***.***> wrote:
To fix the issue, I updated the configuration.yaml file by using a list
format for specifying sensors and entities. Instead of directly assigning a
single sensor or entity, I listed them under their respective types:
sensor:
- binary_sensor.storage_motion
entity:
- switch.storage
VS:
sensor: binary_sensor.storage_motion
entity: switch.storage
—
Reply to this email directly, view it on GitHub
<#316 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANP4WKNPYNRF25JF6F7AMR3YIYDUBAVCNFSM6AAAAABAJU3KHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGA2TOMBXG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@jddayley thank you very much for figuring this out, updated all my configs to use list style and updated core to 2023.12.1 everything works as expected. wondering if this actually a bug or a feature? |
@jddayley I did some quick tests and it does indeed seem to solve it. I'll do further testing this afternoon. If I remember correctly, they recently introduced config processing and error handling to the HA Core - this might've had a side effect on EC... |
What about the other features ? automation_motion_garage: What should be the way to write the whole paragraph ? |
Sensor and entities as lists, so:
|
Confirmed as a workaround. Many thanks! Something broked at config processing, entities became list of characters instead of strings. Here debug entry from 2023.12:
and from 2023.10
|
Hello! I wanted to add something to the fix following my own tests at home.
If your setup uses 'trigger_on_activate' and 'trigger_on_deactivate', both have to be set as lists too. |
Core moved to orjson from strict json - probably a yaml parsing error with the new lib |
home-assistant/core#105309 I'm guessing something here is related. If you can figure iut out they can get it fixed fast |
Just for interest, Mine is in a list format:
|
I would turn on debugging and share the output. |
the problem reflects on the parsing completely, attribute doesn't matter.. so use list for entities too.. it will work.. |
this should definitely be defined in plural -> sensors:
- binary_sensor.storage_motion
entities:
- switch.storage |
That worked for me too! |
Just for the records.
and plural notation if there are multiple values
sorry don't currently use multiple entites |
Technically, you are wrong.. by defining an array (list) in yaml, you should always use plural; doesn't matter how many records are there in it.. and you did it by changing this: entity: light.attic_battons to this: entity:
- light.attic_battons https://www.baeldung.com/spring-boot-yaml-list#quick-recap-about-lists-in-yaml If it accidentally works is another thing but better get rid of singularity here.. |
I work with spring-boot on a daily basis and it doesn't actually care if the key is singular or plural. But for clarity it would be recommended to use plural keys when using list values. Unfortunately all the config examples on this component use singular naming but code shows that it handles both options and that's why both are valid. entity-controller/custom_components/entity_controller/const.py Lines 62 to 63 in f76e717
|
Does this work with I'm still on |
I just tried ton 24.1 and it still doesn't work for me ... I could prob fix it if I wasn't so busy right now |
Genius, this fixed it for my running 2024.1! |
I got mine working :) |
Hi all, please update to 9.7.1 which contains a fix for configuration loading (string values vs list values). @Paul-Vdp please close issue once fix has been verified. |
After updating to 9.71 and reverting the configuration changes I can confirm that issue has been resolved. |
Description
Ever since I installed a Hass 2023.12 beta version, EC stopped working. It complains about non-existing states (they DO exist), and about 'not enough values to unpack (expected 2, got 1)' upon override state changes - and ends up doing nothing.
Configuration
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
This is how the component should work:
Actual Behaviour
This is what actually happened:
Logs
Version
The text was updated successfully, but these errors were encountered: