pnbruckner/ha-sun2

'rising' attribute not available

Pauld-1 opened this issue · 1 comments

It appears that ATTR_BLUE_HOUR is duplicated in line 671 resulting in ATTR_RISING not being available

attrs[ATTR_BLUE_HOUR] = blue_hour
attrs[ATTR_GOLDEN_HOUR] = golden_hour
attrs[ATTR_BLUE_HOUR] = self._p.rising

Thanks for this sensor, it is very useful