1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-11-16 17:13:49 -05:00

Add cloud playlists

This commit is contained in:
Nathan Spencer
2025-08-02 13:48:58 +00:00
parent 7c650949d8
commit 8a72aba294
8 changed files with 120 additions and 18 deletions

View File

@@ -3,6 +3,7 @@
from __future__ import annotations
import base64
from datetime import UTC, datetime
import logging
import math
from xml.etree.ElementTree import Element, SubElement, tostring
@@ -177,3 +178,7 @@ def decrypt_svg_content(svg_content: dict[str, str]):
svg_content["decrypted"] = decrypted
return decrypted
def now() -> datetime:
return datetime.now(UTC)