mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-30 11:49:16 +00:00
@@ -27,8 +27,8 @@ from .radar_geometry import (
|
||||
clipped_arc_segments,
|
||||
length_cm,
|
||||
point_in_polygon,
|
||||
polygon_is_convex,
|
||||
polar_to_cartesian,
|
||||
polygon_is_convex,
|
||||
project_local,
|
||||
)
|
||||
from .radar_validation import radar_source_entity_ids, validate_radar_draft
|
||||
|
||||
@@ -18,7 +18,6 @@ from custom_components.houseplan.coordinate_canonicalization import (
|
||||
canonicalize_position,
|
||||
)
|
||||
from custom_components.houseplan.vacuum_routes import validate_marker_routes
|
||||
from custom_components.houseplan.radar_validation import validate_marker_radars
|
||||
|
||||
# ---------- limits and extension sets ----------
|
||||
PLAN_EXTENSIONS = {"svg": "image/svg+xml", "png": "image/png", "jpg": "image/jpeg", "webp": "image/webp"}
|
||||
|
||||
@@ -81,6 +81,7 @@ from .plans import (
|
||||
reserve_filename,
|
||||
)
|
||||
from .projection import project_config, project_layout
|
||||
from .radar_validation import RadarValidationError
|
||||
from .registry_snapshot import import_registry_snapshot
|
||||
from .store import (
|
||||
LAYOUT_STORE_CORE_KEYS,
|
||||
@@ -125,7 +126,6 @@ from .validation import (
|
||||
validate_partition_opening_hosts,
|
||||
validate_wall_model_transition,
|
||||
)
|
||||
from .radar_validation import RadarValidationError
|
||||
from .virtual_lights import (
|
||||
EVENT_VIRTUAL_LIGHT_UPDATED,
|
||||
async_toggle_virtual_light,
|
||||
|
||||
Reference in New Issue
Block a user