I have a single Alexa switch configured with this plugin. It works fine, but I’ve noticed that if I flip the switch manually (outside the Home app), then the switch state is not updated in the Home app until I either 1. Open the Home app or 2. Navigate to the Homebridge Accessories page.
I’ve turned on debug logging. Whenever I open the home app the following is logged:
[10/25/2025, 11:44:30 AM] [HomebridgeAlexaSmartHome] Querying for changes to Shower using query getPowerState
[10/25/2025, 11:44:30 AM] [HomebridgeAlexaSmartHome] Shower - Get power result: OFF
This is only ever logged at Homebridge startup and when I manually refresh state as described. If I don’t open the Home app, it will never refresh state. (Note - I have cache set to 30 seconds).
This matters because I want this switch state to be an automation trigger in HomeKit. The automation only fires when I manually open the Home app and it checks state.
Any help would be greatly appreciated. Thanks!