1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-11-08 05:03:52 -05:00

Merge pull request #86 from natekspencer/status-icons

Update status icons for busy and sleeping
This commit is contained in:
Nathan Spencer
2025-08-02 07:55:38 -06:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -24,12 +24,14 @@
"status": { "status": {
"state": { "state": {
"booting": "mdi:loading", "booting": "mdi:loading",
"busy": "mdi:progress-clock",
"centering": "mdi:record-circle-outline", "centering": "mdi:record-circle-outline",
"downloading": "mdi:progress-download", "downloading": "mdi:progress-download",
"error": "mdi:alert-circle-outline", "error": "mdi:alert-circle-outline",
"live": "mdi:pencil-circle-outline", "live": "mdi:pencil-circle-outline",
"paused": "mdi:motion-pause-outline", "paused": "mdi:motion-pause-outline",
"playing": "mdi:motion-play-outline", "playing": "mdi:motion-play-outline",
"sleeping": "mdi:power-sleep",
"stopped": "mdi:stop-circle-outline", "stopped": "mdi:stop-circle-outline",
"updating": "mdi:update" "updating": "mdi:update"
} }

View File

@@ -16,7 +16,7 @@ from .utils import _bit_to_bool, _parse_int, decrypt_svg_content, now
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
STATUS_CODE_MAP = { STATUS_CODE_MAP = {
0: "booting", # maybe? 0: "booting",
2: "stopped", 2: "stopped",
3: "centering", 3: "centering",
4: "playing", 4: "playing",