🗑 Custom Home Assistant sensor for scheduling garbage collection (or other regularly re-occurring events - weekly on given days, semi-weekly or monthly)
MIT License
383
stars
90
forks
source link
Icon colour has stopped changing even though state is correct #445
[X] I'm running the newest version of Garbage Collection, or the next pre-release.
[X] I have enabled debug logging for my installation.
Describe the bug
I have been using this for some time now and it has been working very well indeed. The custom garbage collection card has been working correctly and showed the changing icon colours for teh day before and day of collection last week, however today (collection due tomorrow) the icon colour is no longer changing and remains the regular green colour set in 'icon_color' within the card.
Only things that I am aware have changed since it worked correctly last week are a HA Core update which i ran yesterday and the latest HA OS update today which I installed.
Looking at the state of my recycling sensor in Dev Tools, correctly shows a state of '1' and an attribute of 'next_date: 2022-12-14T00:00:00+00:00' which is correct for tomorrow. My card config hasn't changed:
type: custom:garbage-collection-card
entity: sensor.recycling
icon_color: green
icon_size: 35px
due_color: red
due_text: true
hide_on_click: false
I've also just noticed that the attricute 'last collection' shows 7th June this year? Shouldn't that be showing the date last wednesday?
Before you submit a new bug report, please check that
Describe the bug
I have been using this for some time now and it has been working very well indeed. The custom garbage collection card has been working correctly and showed the changing icon colours for teh day before and day of collection last week, however today (collection due tomorrow) the icon colour is no longer changing and remains the regular green colour set in 'icon_color' within the card. Only things that I am aware have changed since it worked correctly last week are a HA Core update which i ran yesterday and the latest HA OS update today which I installed.
Looking at the state of my recycling sensor in Dev Tools, correctly shows a state of '1' and an attribute of 'next_date: 2022-12-14T00:00:00+00:00' which is correct for tomorrow. My card config hasn't changed:
I've also just noticed that the attricute 'last collection' shows 7th June this year? Shouldn't that be showing the date last wednesday?
Configuration
Debug logs