Hi.
I created a new Custom Widget, with 4 elements:
3 script
1 entity
The scripts work fine, when I press the widget they execute correctly, and also the entity present in the widget changes its state.
But this happens if I run the script from the same phone. If I run the script from another phone (eg. my girlfriend’s phone), the widget entity on my phone does not update.
Then I created an automation, which should update the widget when the state of the alarm_control_panel.alarmo entity is triggered through the 3 scripts from the widget, but it doesn’t work.
- id: update_ios_widget
alias: Update iOS Widget
triggers:
- trigger: state
entity_id:
- alarm_control_panel.alarmo
actions:
- delay:
hours: 0
minutes: 0
seconds: 5
- action: notify.mobile_app_inanu
data:
message: "update_widgets"
Home Assistant v. 2025.3.4
App Companion v. 2025.3 (2025.1205)