|
267 | 267 | 'state': 'recording', |
268 | 268 | }) |
269 | 269 | # --- |
| 270 | +# name: test_platform_setup_and_discovery[camera.intercom-entry] |
| 271 | + EntityRegistryEntrySnapshot({ |
| 272 | + 'aliases': set({ |
| 273 | + }), |
| 274 | + 'area_id': None, |
| 275 | + 'capabilities': None, |
| 276 | + 'config_entry_id': <ANY>, |
| 277 | + 'config_subentry_id': <ANY>, |
| 278 | + 'device_class': None, |
| 279 | + 'device_id': <ANY>, |
| 280 | + 'disabled_by': None, |
| 281 | + 'domain': 'camera', |
| 282 | + 'entity_category': None, |
| 283 | + 'entity_id': 'camera.intercom', |
| 284 | + 'has_entity_name': True, |
| 285 | + 'hidden_by': None, |
| 286 | + 'icon': None, |
| 287 | + 'id': <ANY>, |
| 288 | + 'labels': set({ |
| 289 | + }), |
| 290 | + 'name': None, |
| 291 | + 'options': dict({ |
| 292 | + }), |
| 293 | + 'original_device_class': None, |
| 294 | + 'original_icon': None, |
| 295 | + 'original_name': None, |
| 296 | + 'platform': 'tuya', |
| 297 | + 'previous_unique_id': None, |
| 298 | + 'suggested_object_id': None, |
| 299 | + 'supported_features': <CameraEntityFeature: 2>, |
| 300 | + 'translation_key': None, |
| 301 | + 'unique_id': 'tuya.qt0o5jlatiqf2rscps', |
| 302 | + 'unit_of_measurement': None, |
| 303 | + }) |
| 304 | +# --- |
| 305 | +# name: test_platform_setup_and_discovery[camera.intercom-state] |
| 306 | + StateSnapshot({ |
| 307 | + 'attributes': ReadOnlyDict({ |
| 308 | + 'access_token': '1', |
| 309 | + 'brand': 'Tuya', |
| 310 | + 'entity_picture': '/api/camera_proxy/camera.intercom?token=1', |
| 311 | + 'friendly_name': 'Intercom', |
| 312 | + 'model_name': 'Security Camera ', |
| 313 | + 'supported_features': <CameraEntityFeature: 2>, |
| 314 | + }), |
| 315 | + 'context': <ANY>, |
| 316 | + 'entity_id': 'camera.intercom', |
| 317 | + 'last_changed': <ANY>, |
| 318 | + 'last_reported': <ANY>, |
| 319 | + 'last_updated': <ANY>, |
| 320 | + 'state': 'idle', |
| 321 | + }) |
| 322 | +# --- |
270 | 323 | # name: test_platform_setup_and_discovery[camera.mirilla_puerta-entry] |
271 | 324 | EntityRegistryEntrySnapshot({ |
272 | 325 | 'aliases': set({ |
|
0 commit comments