Files
Erik MontnemeryandMartin Hjelmare 4b34d1bbb5 Merge config subentry feature branch to dev (#136121)
* Reapply "Add support for subentries to config entries" (#133470) (#136061)

* Reapply "Add support for subentries to config entries" (#133470)

This reverts commit ecb3bf79f3.

* Update test snapshot

* Add config subentry support to device registry (#128157)

* Add config subentry support to device registry

* Apply suggestions from code review

* Update syrupy serializer

* Update snapshots

* Address review comments

* Allow a device to be connected to no or a single subentry of a config entry

* Update snapshots

* Revert "Allow a device to be connected to no or a single subentry of a config entry"

This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.

* Update test snapshots

* Bump release version in comments

* Rename config_subentries to config_entries_subentries

* Add config subentry support to entity registry (#128155)

* Add config subentry support to entity registry

* Update syrupy serializer

* Update snapshots

* Update snapshots

* Accept suggested changes

* Clean registries when removing subentry (#136671)

* Clean up registries when removing subentry

* Update tests

* Clean up subentries from deleted devices when removing config entry (#136669)

* Clean up subentries from deleted devices when removing config entry

* Move

* Add config subentry support to entity platform (#128161)

* Add config subentry support to entity platform

* Rename subentry_id to config_subentry_id

* Store subentry type in subentry (#136687)

* Add reconfigure support to config subentries (#133353)

* Add reconfigure support to config subentries

* Update test

* Minor adjustment

* Rename supported_subentry_flows to supported_subentry_types

* Address review comments

* Add subentry support to kitchen sink (#136755)

* Add subentry support to kitchen sink

* Add subentry reconfigure support to kitchen_sink

* Update kitchen_sink tests with subentry type stored in config entry

* Update kitchen_sink

* Update kitchen_sink

* Adjust kitchen sink tests

* Fix hassfest

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Improve docstrings and strings.json

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-10 16:40:07 +01:00

1289 lines
30 KiB
Plaintext

# serializer version: 1
# name: test_devices[netatmo-0009999992]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/control',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'0009999992',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Bubbendorf',
'model': 'Roller Shutter',
'model_id': None,
'name': 'Entrance Blinds',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-0009999993]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/control',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'0009999993',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Bubbendorf',
'model': 'Orientable Shutter',
'model_id': None,
'name': 'Bubendorff blind',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-00:11:22:33:00:11:45:fe]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/control',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'00:11:22:33:00:11:45:fe',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': '2 wire light switch/dimmer',
'model_id': None,
'name': 'Unknown 00:11:22:33:00:11:45:fe',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-1002003001]
DeviceRegistryEntrySnapshot({
'area_id': 'corridor',
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'1002003001',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Smarther',
'model': 'Smarther with Netatmo',
'model_id': None,
'name': 'Corridor',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': 'Corridor',
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:00:a1:4c:da]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:00:a1:4c:da',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Energy Meter',
'model_id': None,
'name': 'Consumption meter',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:01:01:01:a1]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/control',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:01:01:01:a1',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Light switch/dimmer with neutral',
'model_id': None,
'name': 'Bathroom light',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#0]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#0',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Line 1',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#1]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#1',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Line 2',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#2]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#2',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Line 3',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#3]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#3',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Line 4',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#4]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#4',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Line 5',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#5]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#5',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Total',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#6]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#6',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Gas',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#7]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#7',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Hot water',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e#8]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e#8',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Cold water',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:16:0e]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:16:0e',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Connected Ecometer',
'model_id': None,
'name': 'Écocompteur',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:00:f1:62]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/security',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:00:f1:62',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Camera',
'model_id': None,
'name': 'Hall',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:03:1b:e4]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:03:1b:e4',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Anemometer',
'model_id': None,
'name': 'Villa Garden',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:10:b9:0e]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/security',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:10:b9:0e',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Outdoor Camera',
'model_id': None,
'name': 'Front',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:10:f1:66]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://home.netatmo.com/security',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:10:f1:66',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Video Doorbell',
'model_id': None,
'name': 'Netatmo-Doorbell',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:25:cf:a8]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:25:cf:a8',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Air Quality Monitor',
'model_id': None,
'name': 'Kitchen',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:26:65:14]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:26:65:14',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Air Quality Monitor',
'model_id': None,
'name': 'Livingroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:26:68:92]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:26:68:92',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Air Quality Monitor',
'model_id': None,
'name': 'Baby Bedroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:26:69:0c]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:26:69:0c',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Air Quality Monitor',
'model_id': None,
'name': 'Bedroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:3e:c5:46]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:3e:c5:46',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Air Quality Monitor',
'model_id': None,
'name': 'Parents Bedroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:80:00:12:ac:f2]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:80:00:12:ac:f2',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Legrand',
'model': 'Plug',
'model_id': None,
'name': 'Prise',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:80:1c:42]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:80:1c:42',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Outdoor Module',
'model_id': None,
'name': 'Villa Outdoor',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:80:44:92]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:80:44:92',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Module',
'model_id': None,
'name': 'Villa Bedroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:80:7e:18]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:80:7e:18',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Indoor Module',
'model_id': None,
'name': 'Villa Bathroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:80:bb:26]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:80:bb:26',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Home Weather station',
'model_id': None,
'name': 'Villa',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-12:34:56:80:c1:ea]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/weather',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'12:34:56:80:c1:ea',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Rain Gauge',
'model_id': None,
'name': 'Villa Rain',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-222452125]
DeviceRegistryEntrySnapshot({
'area_id': 'bureau',
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'222452125',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'OpenTherm Modulating Thermostat',
'model_id': None,
'name': 'Bureau Modulate',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': 'Bureau',
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-2746182631]
DeviceRegistryEntrySnapshot({
'area_id': 'livingroom',
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'2746182631',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Thermostat',
'model_id': None,
'name': 'Livingroom',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': 'Livingroom',
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-2833524037]
DeviceRegistryEntrySnapshot({
'area_id': 'entrada',
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'2833524037',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Valve',
'model_id': None,
'name': 'Valve1',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': 'Entrada',
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-2940411577]
DeviceRegistryEntrySnapshot({
'area_id': 'cocina',
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'2940411577',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Smart Valve',
'model_id': None,
'name': 'Valve2',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': 'Cocina',
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-91763b24c43d3e344f424e8b]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://my.netatmo.com/app/energy',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'91763b24c43d3e344f424e8b',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Climate',
'model_id': None,
'name': 'MYHOME',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-Home avg]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://weathermap.netatmo.com/',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'Home avg',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Public Weather station',
'model_id': None,
'name': 'Home avg',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-Home max]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://weathermap.netatmo.com/',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'Home max',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Public Weather station',
'model_id': None,
'name': 'Home max',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_devices[netatmo-Home min]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://weathermap.netatmo.com/',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'netatmo',
'Home min',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Netatmo',
'model': 'Public Weather station',
'model_id': None,
'name': 'Home min',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---