home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.54k stars 30.72k forks source link

core update to 2024.1.0 destroyed some automations and toggle to Sonoff sensors #107115

Closed pajikcz closed 6 months ago

pajikcz commented 10 months ago

The problem

core update to 2024.1.0

Obrázek WhatsApp, 2024-01-04 v 12 29 49_bb2780e7

What version of Home Assistant Core has the issue?

2024.1.0

What was the last working version of Home Assistant Core?

2023.11.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

pajikcz commented 10 months ago

did rollback to 2023.11.3 and all works well again

TokarevSergey commented 10 months ago

The same. Problem with switches. How to roll back?!?!

pajikcz commented 10 months ago

i followed this video https://www.youtube.com/watch?v=iigi1ZgUSMo

pajikcz commented 10 months ago

looks like update 2024.1.0 causing more issues

image

jpbede commented 10 months ago

If you are using SonoffLAN (https://github.com/AlexxIT/SonoffLAN/) than this is a custom component and thus not supported by the core dev team. The issue already has been reported at their repository (https://github.com/AlexxIT/SonoffLAN/issues/1288)

pajikcz commented 10 months ago

using cloud integration, but how this is related to destroying mentiones functions? Last year i did all updates without problem till now, where UI were changed for automations and other functions. Automations were marked as not existing !!!

jpbede commented 10 months ago

Well, Home Assistant does not include any integration for Sonoff. We (the core development team of Home Assistant) do not endorse using or support such a custom component. So if a custom component is not compatible with a new version of Home Assistant, it is the duty of the custom component maintainer to fix this issue.

Besides, a generic issue, like "this or that isn't working", isn't very helpful nor it leads to a fast resolution of your problem. Provide as much data as you can and describe your problem as much as possible.

pajikcz commented 10 months ago

ok, my post was trying to tell, that new upgrade provided some problems especially with automations see above. Sonoff is just side effect, i will be glad to provide more info, if u tell me HOW. No willing to update back coz i will stop my house heating operation i was finghting all noon.

jpbede commented 10 months ago

A log file from the 2024.1 would be helpful

tdejneka commented 10 months ago

Automations were marked as not existing !!!

Do you mean their state is unavailable?

That would be normal for an automation that references a non-existent entity such as when your custom integration, SonoffLAN, fails.

pajikcz commented 10 months ago

Automations were marked as not existing !!!

Do you mean their state is unavailable?

That would be normal for an automation that references a non-existent entity such as when your custom integration, SonoffLAN, fails.

ok, yes automations were unavailable where they have toggle action to Sonoff switch. But how do you explain me, what happend when i rolled back to the last working core and all was working immediatelly well? No provider failure, no network failure, no sensor failure, all i have checked until i did rollback as last chance.

raminhos commented 10 months ago

There is a working fix on SonoffLAN config. https://github.com/AlexxIT/SonoffLAN/issues/1288

jpbede commented 10 months ago

But how do you explain me, what happend when i rolled back to the last working core and all was working immediatelly well?

As I mentioned above, there is a issue with the custom SonoffLAN integration you are using, which does not work with 2024.1, resulting in the automation not being available.

As @raminhos wrote, there seems to be a fix available.

pajikcz commented 10 months ago

to be clear, i am using oficial /config/integrations/integration/sonoff and not from HACS, is this the same problem?

jpbede commented 10 months ago

There is no official Sonoff integration shipped with Home Assistant.

pajikcz commented 10 months ago

but u didnt answer me, shall i change to SonoffLAN from HACS to be working in 2024.1.0?

raminhos commented 10 months ago

You could try fix the line in the config file in your version of sonoff. Maybe they share same fix

pajikcz commented 10 months ago

after winter i will try, thanks for advices

tdejneka commented 10 months ago

But how do you explain me, what happend when i rolled back to the last working core and all was working immediatelly well?

You should be discussing this with the author of SonoffLAN because they are responsible for ensuring their custom integration works with Home Assistant.

Mutley247365 commented 10 months ago

I have been noticing a lot of my long running automations have been failing since the latest update too,

tdejneka commented 10 months ago

@Mutley247365

Your REST command appears to be acting on a Sonoff switch. If you're using the SonoffLAN custom integration then it's the cause of the problem. If that's the case then contact the author of the SonoffLAN custom integration.

mucki12 commented 10 months ago

Same problem exists with Lupusec switches (native integration).

issue-triage-workflows[bot] commented 7 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.