android: Sensor next_alarm not triggering on LG G8S phone

Home Assistant Android version: 2021.2.2-full

Android version: 10

Phone model: LG G8S ThinQ - LM-G810EAW

Home Assistant version: 2021.2.3

Last working Home Assistant release (if known): Possibly 2020.12 or 2021.1 but could be related to app version

Description of problem:

Next alarm sensor doesn’t trigger for a LG G8 sensor but does for a Samsung S20. No errors visible in the log.

Example simple automation:

- alias: zzztest
  trigger:
  - platform: time
    at: sensor.lm_g810_next_alarm
  action:
  - service: light.turn_on
    entity_id: light.test_lights

State is reported as: 2021-03-01T11:46:00.000Z

State attributes:

Local Time: 'Mon Mar 01 11:46:00 GMT 2021'
Package: Unknown
Time in Milliseconds: 1614599160000
friendly_name: G8S Next Alarm
icon: 'mdi:alarm'
device_class: timestamp

The S20 has the same state timestamp format but the state attributes “Package” is not unknown so maybe this is the issue?:

Local Time: 'Sun Feb 28 12:21:00 GMT 2021'
Package: com.sec.android.app.clockpackage
Time in Milliseconds: 1614514860000
friendly_name: S20 Next Alarm
icon: 'mdi:alarm'
device_class: timestamp

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:

Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

I just tested the scenario on my end and I do not see any issues with the alarm being recurring, the state changed to the next scheduled alarm in the Google Clock app. Have you checked that your HA system time is correct and that your cell phone time is up to date?

We will not be adding any delays to a sensor reporting interval I’m sorry. This sensor updates as soon as it gets a state change.