feat: move sensor details to sheet, implement placement on floor plan

This commit is contained in:
2026-05-14 17:22:26 +02:00
parent 90c946d710
commit 52605f1390
12 changed files with 655 additions and 218 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class Sensor {
final double? x; // room relative
final double? y; // room relative
bool get isPlaced => roomId != null;
bool get isPlaced => roomId != null && x != null && y != null;
String get displayName => name ?? sensorId;
factory Sensor.fromJson(Map<String, dynamic> json) => Sensor(