diff --git a/custom_components/houseplan/radar.py b/custom_components/houseplan/radar.py index 1f65854a..b25f95b1 100644 --- a/custom_components/houseplan/radar.py +++ b/custom_components/houseplan/radar.py @@ -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 diff --git a/custom_components/houseplan/validation.py b/custom_components/houseplan/validation.py index 04f1a5f7..a33fccc3 100644 --- a/custom_components/houseplan/validation.py +++ b/custom_components/houseplan/validation.py @@ -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"} diff --git a/custom_components/houseplan/websocket_api.py b/custom_components/houseplan/websocket_api.py index 9c72d265..d7081c7a 100755 --- a/custom_components/houseplan/websocket_api.py +++ b/custom_components/houseplan/websocket_api.py @@ -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,