Is it possible to link the “title” argument of the input_boolean widget to a Home Assistant sensor so that it changes dynamically?
You would need to make a custom widget and add a bit of code for that to work. The input_boolean
widget is based on the baseswitch
widget, so you would need a make a copy of the baseswitch
widget, rename it, place it in the custom_widgets
folder, and, of course, add some code for the logic.
Only a few lines of code whould need to be added, specifically, the widget need to subscribe to the sensor entity and update the title field whenever a state change occurs.