alexa_media_player: "next_alarm" not updated for timers with recurrence

Describe the bug After a alarm fire, value show past data, like “2 hours ago”.

To Reproduce Steps to reproduce the behavior:

  1. Set a recurring alarm
  2. Wait for it to fire
  3. HA shows “1 hour ago”

Expected behavior After a alarm fire, I would epect “next_alarm” to show the next one. I think this is down to the way refresh is done.

Screenshots If applicable, add screenshots to help explain your problem. image

System details

  • Home-assistant (version): 0.105.2
  • Hassio (Yes/No): No
  • alexa_media (version from const.py or HA startup): 2.5.5
  • alexapy (version from pip show alexapy or HA startup):

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Never mind. Was able to reproduce it and have a fix.