iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Can not create widgets for non admin users

Open RealBadDad opened this issue 5 months ago • 16 comments

iOS device model, version and app version Model Name: many iPhone and iPad versions Software Version: App version: 2025.6

Home Assistant Core Version

Installation method Home Assistant OS Core 2025.7.1 Supervisor 2025.07.1 Operating System 16.0 Frontend 20250702.1

Describe the bug Can not create widgets for non admin users.

To Reproduce Log in as a non admin and attempt to relate a new widget. Widget editor will appear but you can not add devices

Expected behavior I expect to be able to search and add devices to the widget

Screenshots

Additional context

RealBadDad avatar Jul 12 '25 19:07 RealBadDad

Custom widgets are available starting on iOS17+, since you are in iOS 16 it won't work.

If I misunderstood please let me know and also share screenshots to what you see in the app.

bgoncal avatar Jul 12 '25 22:07 bgoncal

Sorry didn’t detail that we are on ios18 The 16 statement above is a capture from home assistant “settings” “about” not the iOS version on the iPad or phone

RealBadDad avatar Jul 13 '25 05:07 RealBadDad

Oh got it, so please provide me a screen recording to what you see when you open "Companion App settings > Widgets > Create Widget" and play a bit with that screen so it displays the issue you are describing.

bgoncal avatar Jul 14 '25 09:07 bgoncal

Btw, it was my mistake to read OS as Phone OS, you are completely right

bgoncal avatar Jul 14 '25 09:07 bgoncal

No problem, attached is me trying to create a widget on my son’s iPad.When I try to add devices none show up even though he can control devices and access them on the main home page.His access level is a normal user not adminHis iOS is iPadOS 26.0NickSent from my iPadOn 14 Jul 2025, at 10:11, Bruno Pantaleão Gonçalves @.***> wrote:bgoncal left a comment (home-assistant/iOS#3715) Btw, it was my mistake to read OS as Phone OS, you are completely right

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

RealBadDad avatar Jul 14 '25 18:07 RealBadDad

You are replying by email but attachments won't go through, netiher they should because logs contain sensitive information , please submit it here:

https://forms.gle/Uoqz127Phx4mMTpS6

bgoncal avatar Jul 14 '25 18:07 bgoncal

@RealBadDad I requested access to the file you uploaded

bgoncal avatar Jul 15 '25 08:07 bgoncal

Thanks, now please upload the companion app logs as well (Companion App Settings > Debugging > Export logs)

bgoncal avatar Jul 15 '25 16:07 bgoncal

Access has been updated sorry this is a bit new to me.Sent from my iPadOn 15 Jul 2025, at 09:14, Bruno Pantaleão Gonçalves @.***> wrote:bgoncal left a comment (home-assistant/iOS#3715) @RealBadDad I requested access to the file you uploaded

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

RealBadDad avatar Jul 15 '25 16:07 RealBadDad

Thanks, please don't forget the logs as well

bgoncal avatar Jul 15 '25 17:07 bgoncal

Sorry I missed the other email request.I attempted again on my other sons iPhone this evening and this is the logGoogle Drive: Sign-indrive.google.comiOS 18.6Iphone12Sent from my iPadOn 15 Jul 2025, at 18:56, Bruno Pantaleão Gonçalves @.***> wrote:bgoncal left a comment (home-assistant/iOS#3715) Thanks, please don't forget the logs as well

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

RealBadDad avatar Jul 15 '25 21:07 RealBadDad

Please submit here: https://forms.gle/Uoqz127Phx4mMTpS6

bgoncal avatar Jul 16 '25 07:07 bgoncal

I cant create widgets... What log from debug do you need?

2025-08-30 19:58:27.337 [Verbose] [main] [ClientEventStore.swift:14] addEvent(_:) > Adding event: Failed to fetch states on server Casa, ["error": Shared.AnyCodable(value: "No se ha podido completar la operación. (Error de HAKit.HADataError 0.)")]

sandamil avatar Aug 30 '25 17:08 sandamil

I found a workaround- by making the user an admin you can log in as them and create a widget for them and then once created remove their admin status. I personally think it would be better if an admin could create the widgets for the other users because invariably the other users aren’t technically wanting to get into setting things up they are just users.

RealBadDad avatar Aug 31 '25 05:08 RealBadDad

I cant créate loged like admin

sandamil avatar Aug 31 '25 06:08 sandamil

I just tried on Android and I can see all the sensors and créate witdgets

sandamil avatar Sep 03 '25 06:09 sandamil