You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the new local notification feature of the 2021.7 beta version of the iOS app, I get the following error in the log when joining my local Wifi network and the iOS app refreshes:
2021-06-20 12:05:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139965000796624] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 100, in async_handle
handler(self.hass, self, schema(msg))
File "/usr/src/homeassistant/homeassistant/components/mobile_app/__init__.py", line 163, in handle_push_notification_channel
registered_channels.pop(webhook_id)()
TypeError: forward_push_notification() missing 1 required positional argument: 'data'
Seems to be related to #50750, and specifically this:
rccoleman
changed the title
Error in log when using local notifications with mobile_app
Error in log when using local notifications with mobile_app using the 2021.7 iOS beta app
Jun 20, 2021
Hey there @robbiet480, mind taking a look at this issue as its been labeled with an integration (mobile_app) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)
The problem
Using the new local notification feature of the 2021.7 beta version of the iOS app, I get the following error in the log when joining my local Wifi network and the iOS app refreshes:
Seems to be related to #50750, and specifically this:
registered_channels.pop(webhook_id)()
this:
registered_channels[webhook_id] = forward_push_notification
and this:
def forward_push_notification(data):
What is version of Home Assistant Core has the issue?
core-2021.6.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
mobile_app
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mobile_app/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Happens when switching to the local wifi network from the cellular network on my iPhone when using the just-released 2021.7 beta of the iOS app.
The text was updated successfully, but these errors were encountered: