question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Last notification doesn't update entity unless I open the corresponding app menu

See original GitHub issue

Home Assistant Android version: 2021.10.0.full

Android version: 11

Phone model: Pixel 2 XL

Home Assistant version: core-2021.10.6

Last working Home Assistant release (if known): Don’t remember 😦

Description of problem: I have an automation based on the “Last notification” sensor. It used to work quite well. Now it’s like the entity sensor.pixel_2_xl_last_notification doesn’t update unless I manually go in the HA Android App > App Configuration > Manage Sensors > Last Notification.

Here’s a screen recording to demonstrate the problem.

Key elements to look for are: 1- In the Developer Tools, the entity sensor.pixel_2_xl_last_notification has Last updated set to October 18, 2021, 9:24:22 AM (time I installed the latest HA core-2021.10.6 and rebooted the system). 2- After going in the App Configuration menu, the entity sensor.pixel_2_xl_last_notification has now Last updated set to October 18, 2021, 6:40:35 PM (corresponding time of the Android system).

Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):

Screenshot of problem: Please see screen recording

Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jeepotvincommented, Oct 19, 2021

Thanks for the advice. I now have Tasker posting a reset notification at a given time and added it to the Allow list.

I would have prefer an automation to reset the state but I totally get it’s an edge case being that the original notification always has the same text.

This was really helpful Daniel. I’ve been wonderingly about that problem for a while now. Closing the issue.

0reactions
dshokouhicommented, Oct 19, 2021

You might find it easier to use tasker to post a notification to the device and have the app pick that up. Not sure if you can set the state via automation unless you store the state in a input_text and modify that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting | Home Assistant Companion Docs
In the Android Settings application, navigate to Apps, then select Home Assistant, then select Notifications, and ensure that "All Home Assistant notifications" ...
Read more >
App Missing from Settings -> Notifications list - Apple Developer
This work for me except the App Store app. It still missed in the Notification section. There's no prompt when I open the...
Read more >
Troubleshoot form issues in model-driven apps - Microsoft Learn
This article helps you fix some of the common issues you might encounter while working with model-driven app forms. Important.
Read more >
Notifications Overview | Android Developers
Users can swipe down on the status bar to open the notification drawer, ... (also known as a "notification dot") on the corresponding...
Read more >
SAML app error messages - Google Workspace Admin Help
If you encounter any Security Assertion Markup Language (SAML) app error ... In an SP-initiated flow, the application corresponding to the entity ID ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found