mirror of
https://github.com/elisspace/core.git
synced 2026-09-19 01:01:37 +00:00
* have sensor.moon use state dependent icons Material design icons have icons for all sensor.states, let's use these natively in the component. Based on the Season icons, tried to change accordingly. * Update sensor.py added state constants * Update sensor.py fixed missing mdi: * order of constants. moon icons and use self.state change order of constants to alphabetical, changed order in Moon_icons to alphabetical, used self.state for icon lookup * replace the strings replace the strings for self.state with the constants * removed quotes * removed spaces, empty line * local Black * Sort imports and move import to file header Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>