Skip to content

Commit

Permalink
Fix custom widget execution (#3425)
Browse files Browse the repository at this point in the history
<!-- Thank you for submitting a Pull Request and helping to improve Home
Assistant. Please complete the following sections to help the processing
and review of your changes. Please do not delete anything from this
template. -->

## Summary
<!-- Provide a brief summary of the changes you have made and most
importantly what they aim to achieve -->

## Screenshots
<!-- If this is a user-facing change not in the frontend, please include
screenshots in light and dark mode. -->

## Link to pull request in Documentation repository
<!-- Pull requests that add, change or remove functionality must have a
corresponding pull request in the Companion App Documentation repository
(/~https://github.com/home-assistant/companion.home-assistant). Please add
the number of this pull request after the "#" -->
Documentation: home-assistant/companion.home-assistant#

## Any other notes
<!-- If there is any other information of note, like if this Pull
Request is part of a bigger change, please include it here. -->
  • Loading branch information
bgoncal authored Feb 12, 2025
1 parent e628195 commit 61d8a5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Extensions/Widgets/Common/WidgetBasicView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ struct WidgetBasicView: View {
intent.domain = domain
intent.entityId = entityId
intent.serverId = serverId
intent.widgetShowingStates = model.subtitle != nil
return intent
case let .activate(entityId, domain, serverId):
let intent = CustomWidgetActivateAppIntent()
Expand Down

0 comments on commit 61d8a5c

Please sign in to comment.