Skip to content

Action button widget inserts spaces into Rgb color field, breaking action #6166

@ghuther

Description

@ghuther

I've discovered a fault which breaks the action button widget in some circumstances. The fault occurs when you make a change to an existing widget that has an RGB value saved (eg for me, it's a light.turn_on at a set rgb color and brightness).

The first time you add an RGB value (eg 255,1,128), the widget saves and works fine.

However if you edit that widget, you'll see spaces have been inserted by the app (eg 255, 1, 128). If you save changes to that widget, the spaces are saved (no warning message) but the widget stops working.

Removing the spaces makes that widget function again (but this needs to be done manually each time the widget is edited).

Fix required (I suggest) - stop these spaces being inserted and/or strip spaces from that field.

Home Assistant Android app version(s):
2025.11.4-full

Android version(s):
16

Device model(s):
Samsung s23

Home Assistant version:
2025.12.3 / 16.3 / 20251203.2

Last working Home Assistant release (if known):
Na

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwidget

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions