mirror of
https://github.com/natekspencer/hacs-oasis_mini.git
synced 2025-12-06 18:44:14 -05:00
Formatting
This commit is contained in:
@@ -418,7 +418,7 @@ class OasisDevice:
|
||||
If the current track or its SVG content is unavailable, returns None.
|
||||
|
||||
Returns:
|
||||
progress_percent (float | None): Percentage of the drawing completed (0–100), clamped to 100; `None` if no track or SVG content is available.
|
||||
progress_percent (float | None): Percentage of the drawing completed (0-100), clamped to 100; `None` if no track or SVG content is available.
|
||||
"""
|
||||
if not (self.track and (svg_content := self.track.get("svg_content"))):
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user