Commit 119c125
committed
feat: add Conga vacuum support (0.3.0b1)
- Add CongaMapImageHandler subclassing HypferMapImageHandler with
JSON coordinate scaling (pixelSize=1 → 5) via async_get_conga_from_json
- Add CongaImageDraw subclassing HypferImageDraw as Conga draw engine
- Add is_conga: bool = False to CameraShared for vacuum type detection
- Route Conga in BaseHandler._generate_new_image via hasattr duck-typing
- Remove is_conga_map() from ImageData and detect_vacuum_type() from
BaseHandler — detection is mqtt_vacuum_camera's responsibility
- Export CongaMapImageHandler and ImageData from public API1 parent 608af44 commit 119c125
4 files changed
Lines changed: 6 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 83 | | |
101 | 84 | | |
102 | 85 | | |
| |||
168 | 151 | | |
169 | 152 | | |
170 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
171 | 157 | | |
172 | 158 | | |
173 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 276 | | |
289 | 277 | | |
290 | 278 | | |
| |||
0 commit comments