iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Widgets do not work on iOS beta 2026.1873

Open rosetown-kelly opened this issue 7 months ago • 25 comments

Model Name: iPhone 16 Pro Max Software Version: iOS 26.4 App version: 2026.1873

Home Assistant Core Version 2026.4.1

Describe the bug Widgets can be created but when you tap on a script or a scene it does not activate. There is no haptic feedback like there used to be.

To Reproduce Create a widget of any type on the Home Screen. Add a script or scene. Try to activate the script or screen by tapping on it.

Expected behavior When tapping on a script or scene within a widget it will activate.

Image

Screenshots

Additional context

rosetown-kelly avatar Apr 08 '26 23:04 rosetown-kelly

Can you be specific on which widget you are trying on? I've tried the custom widget and the common used widget, both seems to work fine

bgoncal avatar Apr 09 '26 09:04 bgoncal

I have tried will all the widget layouts, if that’s what you mean.

I have also tried deleting and recreating the widget, using the ‘reload all widgets’ button as well as ‘reset all custom widgets’.

rosetown-kelly avatar Apr 09 '26 09:04 rosetown-kelly

Sorry, I wasn’t familiar with “common used” widget before now, but I realize now that is what you meant.

I was trying with a custom widget before.

I did try to create a commonly used widget just now for fun, and it appears blank.

rosetown-kelly avatar Apr 09 '26 09:04 rosetown-kelly

Are you using mTLS?

bgoncal avatar Apr 09 '26 09:04 bgoncal

No, I am not using the mTLS beta feature.

rosetown-kelly avatar Apr 09 '26 10:04 rosetown-kelly

Are you on discord? Export your companion app logs and send to me if possible (bgoncal2)

bgoncal avatar Apr 09 '26 10:04 bgoncal

Model Name: iPhone 13 mini Software Version: iOS 26.4 App version: 2026.1873

Home Assistant Core Version 2026.4.1

Here is an error from the HomeAssistant-Extensions-Widgets.txt log file.

When using a custom widget, I try to toggle light.lamps_bedroom_table. I receive haptic feedback, but the light does not actually switch.

mTLS is enabled.

2026-04-09 12:51:07.585 PM [Info] [main] [Environment.swift:75] init() > WebSocket: phase transition to disconnected(error: nil, forReset: true)
2026-04-09 12:51:07.729 PM [Error] [com.apple.root.user-initiated-qos.cooperative] [WidgetTimelineProviderSupport.swift:125] readCache() > Failed to load states cache in Widget custom widget, error: The file “widgetId-81FCFBC6-6CA1-4E94-87FD-E391CB22AD3D.json” couldn’t be opened because there is no such file.
2026-04-09 12:51:07.729 PM [Verbose] [com.apple.root.user-initiated-qos.cooperative] [WidgetTimelineProviderSupport.swift:87] states(showStates:items:) > Widget custom widget has no valid cache, fetching states
2026-04-09 12:51:07.749 PM [Info] [main] [Environment.swift:75] init() > WebSocket: Sending: HARequestIdentifier(rawValue: 11) GET /api/states/light.lamps_bedroom_table 
2026-04-09 12:51:07.755 PM [Info] [hakit-work-queue] [Environment.swift:75] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 11)
2026-04-09 12:51:07.756 PM [Info] [main] [Environment.swift:75] init() > WebSocket: connecting using HAConnectionInfo(url: http://192.168.8.180:8123, userAgent: Optional("Home Assistant/2026.4.1 (io.robbie.HomeAssistant; build:2026.1873; iOS 26.4.1)"), engine: nil, evaluateCertificate: Optional((Function)), clientIdentity: Optional((Function)))
2026-04-09 12:51:07.771 PM [Error] [main] [Environment.swift:76] init() > WebSocket: Error: Optional(Error Domain=NSOSStatusErrorDomain Code=-9847 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9847, _kCFStreamErrorDomainKey=3})
2026-04-09 12:51:07.772 PM [Info] [main] [Environment.swift:75] init() > WebSocket: phase transition to disconnected(error: Optional(Error Domain=NSOSStatusErrorDomain Code=-9847 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9847, _kCFStreamErrorDomainKey=3}), forReset: false)
2026-04-09 12:51:07.772 PM [Info] [main] [Environment.swift:75] init() > WebSocket: disconnecting; permanently: default, error: Optional(Error Domain=NSOSStatusErrorDomain Code=-9847 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9847, _kCFStreamErrorDomainKey=3})
2026-04-09 12:51:07.772 PM [Info] [main] [Environment.swift:75] init() > WebSocket: phase transition to disconnected(error: nil, forReset: true)
2026-04-09 12:51:07.826 PM [Info] [main] [Environment.swift:75] init() > WebSocket: connecting using HAConnectionInfo(url: http://192.168.8.180:8123, userAgent: Optional("Home Assistant/2026.4.1 (io.robbie.HomeAssistant; build:2026.1873; iOS 26.4.1)"), engine: nil, evaluateCertificate: Optional((Function)), clientIdentity: Optional((Function)))
2026-04-09 12:51:07.840 PM [Info] [main] [Environment.swift:75] init() > WebSocket: Sending: HARequestIdentifier(rawValue: 12) GET /api/states/light.pc_lamp 
2026-04-09 12:51:07.856 PM [Info] [hakit-work-queue] [Environment.swift:75] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 12)
2026-04-09 12:51:07.876 PM [Error] [main] [Environment.swift:76] init() > WebSocket: Error: Optional(Error Domain=NSOSStatusErrorDomain Code=-9847 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9847, _kCFStreamErrorDomainKey=3})
2026-04-09 12:51:07.876 PM [Info] [main] [Environment.swift:75] init() > WebSocket: phase transition to disconnected(error: Optional(Error Domain=NSOSStatusErrorDomain Code=-9847 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9847, _kCFStreamErrorDomainKey=3}), forReset: false)
2026-04-09 12:51:07.876 PM [Info] [main] [Environment.swift:75] init() > WebSocket: disconnecting; permanently: default, error: Optional(Error Domain=NSOSStatusErrorDomain Code=-9847 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9847, _kCFStreamErrorDomainKey=3})
2026-04-09 12:51:07.876 PM [Info] [main] [Environment.swift:75] init() > WebSocket: phase transition to disconnected(error: nil, forReset: true)

unleftie avatar Apr 09 '26 10:04 unleftie

Just want to mention that I have the very same issue.

Model Name: iPhone 12 Pro Software Version: iOS 26.4 App version: 2026.1862

Home Assistant Core Version 2026.4.2

I have the following setup: External: Cloudflare -> Nginx -> HA Internal: Nginx -> HA

Not using mTLS either, but in general https external as well as internal via Nginx.

IT-Fuzzi avatar Apr 12 '26 18:04 IT-Fuzzi

I rebooted my iPhone but it was still not working.

Now, I updated to iOS 26.4.1 and the HA widgets are working again :-) . Not sure if it was really the iOS update that fixed it, or more the „deeper“ reboot associated with the iOS update (cache/memory).

IT-Fuzzi avatar Apr 12 '26 18:04 IT-Fuzzi

same problem here, after a iOS reboot seems return to work for X days/weeks.

Model Name: iPhone 13 mini Software Version: iOS 26.4.1 App version: 2026.4.0

Home Assistant Core Version 2026.4.2

fabioz23 avatar Apr 15 '26 08:04 fabioz23

Please try iOS app 2026.4.1

bgoncal avatar Apr 24 '26 14:04 bgoncal

I switched from the testflight build to the stable version, but it's still not working. The WebSocket status remains 'connecting'.

Home Assistant Core Version is 2026.4.3

unleftie avatar Apr 24 '26 14:04 unleftie

@unleftie In this case your issue in unrelated to widgets right? It sounds like a connectivity problem. I see above that you are using mTLS, which is still an experimental feature, try removing your server and adding it again, if that does not work please open a separate mTLS (template) issue

bgoncal avatar Apr 24 '26 14:04 bgoncal

the issue is specifically with the widgets not working, i thought it might be related to WebSockets. And yes, mTLS is being used - i'll create a separate issue for this

unleftie avatar Apr 24 '26 15:04 unleftie

I'd like to add another affected one: myself!

Home Assistant OS, Core 2026.4.4, iOS App 2026.4.1, Cloudflare reverse proxy

Custom widget worked flawlessly and I got the haptic feedback whenever I tapped on a button. Now I don't get any haptic feedback and nothing happens.

Schnabulation avatar May 07 '26 07:05 Schnabulation

Same for me Core 2026.5.0 and iOS 26.4.2 and iOS App 2026.4.1 Widgets can be created but after clicking it no action is performed. Even simple ones like light on/off got no reaction any longer

KingAreg avatar May 07 '26 08:05 KingAreg

Same here. I have had iOS actions for years. Suddenly, approx 2 months ago, they stopped working for both iPhones in our household. Switched to iOS widgets, which only worked for one of the iPhones, not for the other. Last week, the widgets stopped working also on the iPhone, where it used to work, too - all of a sudden. So I dont have iOS actions nor widgets for both phones right now...

Readding or recreating the widgets does not help... No mTLS in use. Let me know what logs are required and I'm happy to assist. Thank you!

badewanne1234 avatar May 10 '26 17:05 badewanne1234

Same here, iOS Actions (Legacy) no longer work starting from iOS 26.4

robsys avatar May 11 '26 18:05 robsys

Script actions DO work in widgets, but only for a few executions (not sure the exact quantity) and then stop completely. The only fix I've found is a reboot of the phone.

darrendavid avatar May 27 '26 22:05 darrendavid

I can reproduce this on a fully up-to-date setup:

  • Home Assistant Core 2026.5.4
  • Home Assistant iOS App 2026.4.1 (2026.1904)
  • iOS 26.5

What I tested:

  1. Existing widgets stopped responding.
  2. Reload Widgets did not help.
  3. iPhone reboot did not help.
  4. I created a completely new widget using a simple switch entity.

Results:

  • Widget state updates correctly.
  • Entity status is displayed correctly.
  • “Show Details” works as expected.
  • Tapping the widget when configured with the default action (“Standard”) does nothing.
  • No state change is sent to Home Assistant.
  • Home Assistant itself is fully reachable via internal URL and works normally from the app.

This seems to indicate that the widget can load data and receive taps, but the default widget action is not being executed.

Can anyone confirm this behavior on current iOS versions?

Quake85 avatar May 31 '26 16:05 Quake85