mirror of
https://github.com/home-assistant/core.git
synced 2026-02-22 02:47:14 +00:00
* 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>
264 lines
5.7 KiB
Plaintext
264 lines
5.7 KiB
Plaintext
# serializer version: 1
|
|
# name: test_diagnostics
|
|
dict({
|
|
'data': dict({
|
|
'active_interfaces': list([
|
|
dict({
|
|
'address': '**REDACTED**',
|
|
'address6': '**REDACTED**',
|
|
'broadcast': '**REDACTED**',
|
|
'edit': 1,
|
|
'fullname': 'lo',
|
|
'index': 0,
|
|
'mtu': 65536,
|
|
'name': 'lo',
|
|
'netmask': '255.0.0.0',
|
|
'netmask6': list([
|
|
128,
|
|
]),
|
|
'scope6': list([
|
|
'host',
|
|
]),
|
|
'up': 1,
|
|
}),
|
|
dict({
|
|
'address6': '**REDACTED**',
|
|
'edit': 1,
|
|
'ether': '**REDACTED**',
|
|
'fullname': 'enp6s0',
|
|
'index': 1,
|
|
'mtu': 1500,
|
|
'name': 'enp6s0',
|
|
'netmask6': list([
|
|
]),
|
|
'scope6': list([
|
|
]),
|
|
'up': 1,
|
|
}),
|
|
dict({
|
|
'address': '**REDACTED**',
|
|
'address6': '**REDACTED**',
|
|
'broadcast': '**REDACTED**',
|
|
'edit': 1,
|
|
'ether': '**REDACTED**',
|
|
'fullname': 'eno1',
|
|
'index': 2,
|
|
'mtu': 1500,
|
|
'name': 'eno1',
|
|
'netmask': '255.255.255.0',
|
|
'netmask6': list([
|
|
64,
|
|
]),
|
|
'scope6': list([
|
|
'link',
|
|
]),
|
|
'up': 1,
|
|
}),
|
|
]),
|
|
'cpu': list([
|
|
0,
|
|
8,
|
|
92,
|
|
0,
|
|
0,
|
|
]),
|
|
'cpufans': list([
|
|
dict({
|
|
'fan': 1,
|
|
'rpm': 0,
|
|
}),
|
|
dict({
|
|
'fan': 2,
|
|
'rpm': 1371,
|
|
}),
|
|
dict({
|
|
'fan': 3,
|
|
'rpm': 0,
|
|
}),
|
|
dict({
|
|
'fan': 4,
|
|
'rpm': 927,
|
|
}),
|
|
dict({
|
|
'fan': 5,
|
|
'rpm': 801,
|
|
}),
|
|
]),
|
|
'cputemps': list([
|
|
dict({
|
|
'core': 0,
|
|
'temp': 51,
|
|
}),
|
|
dict({
|
|
'core': 1,
|
|
'temp': 49,
|
|
}),
|
|
dict({
|
|
'core': 2,
|
|
'temp': 59,
|
|
}),
|
|
dict({
|
|
'core': 3,
|
|
'temp': 51,
|
|
}),
|
|
dict({
|
|
'core': 4,
|
|
'temp': 50,
|
|
}),
|
|
dict({
|
|
'core': 5,
|
|
'temp': 49,
|
|
}),
|
|
]),
|
|
'disk_free': 7749321486336,
|
|
'disk_fs': dict({
|
|
'/': dict({
|
|
'device': '**REDACTED**',
|
|
'dir': '**REDACTED**',
|
|
'free': 49060442112,
|
|
'ifree': 14927206,
|
|
'itotal': 15482880,
|
|
'iused': 555674,
|
|
'iused_percent': 4,
|
|
'total': 248431161344,
|
|
'type': 'ext4',
|
|
'used': 186676502528,
|
|
'used_percent': 80,
|
|
}),
|
|
'/media/disk1': dict({
|
|
'device': '**REDACTED**',
|
|
'dir': '**REDACTED**',
|
|
'free': 671496220672,
|
|
'ifree': 183130757,
|
|
'itotal': 183140352,
|
|
'iused': 9595,
|
|
'iused_percent': 1,
|
|
'total': 5952635744256,
|
|
'type': 'ext4',
|
|
'used': 4981066997760,
|
|
'used_percent': 89,
|
|
}),
|
|
'/media/disk2': dict({
|
|
'device': '**REDACTED**',
|
|
'dir': '**REDACTED**',
|
|
'free': 7028764823552,
|
|
'ifree': 362656466,
|
|
'itotal': 366198784,
|
|
'iused': 3542318,
|
|
'iused_percent': 1,
|
|
'total': 11903838912512,
|
|
'type': 'ext4',
|
|
'used': 4275077644288,
|
|
'used_percent': 38,
|
|
}),
|
|
}),
|
|
'disk_total': 18104905818112,
|
|
'disk_used': 9442821144576,
|
|
'drivetemps': list([
|
|
dict({
|
|
'device': '**REDACTED**',
|
|
'errors': '',
|
|
'failed': '',
|
|
'temp': 49,
|
|
}),
|
|
dict({
|
|
'device': '**REDACTED**',
|
|
'errors': '',
|
|
'failed': '',
|
|
'temp': 49,
|
|
}),
|
|
dict({
|
|
'device': '**REDACTED**',
|
|
'errors': '',
|
|
'failed': '',
|
|
'temp': 51,
|
|
}),
|
|
dict({
|
|
'device': '**REDACTED**',
|
|
'errors': '',
|
|
'failed': '',
|
|
'temp': 51,
|
|
}),
|
|
dict({
|
|
'device': '**REDACTED**',
|
|
'errors': '',
|
|
'failed': '',
|
|
'temp': 43,
|
|
}),
|
|
dict({
|
|
'device': '**REDACTED**',
|
|
'errors': '',
|
|
'failed': '',
|
|
'temp': 40,
|
|
}),
|
|
]),
|
|
'io': list([
|
|
0,
|
|
4,
|
|
]),
|
|
'kernel': dict({
|
|
'arch': 'x86_64',
|
|
'os': 'Linux',
|
|
'version': '6.6.18-1-lts',
|
|
}),
|
|
'load': list([
|
|
1.29,
|
|
1.36,
|
|
1.37,
|
|
3589,
|
|
'Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz',
|
|
'GenuineIntel',
|
|
15728640,
|
|
12,
|
|
]),
|
|
'load_15m': 1.37,
|
|
'load_1m': 1.29,
|
|
'load_5m': 1.36,
|
|
'mem': list([
|
|
32766344,
|
|
28530480,
|
|
1953088,
|
|
1944384,
|
|
27845756,
|
|
'',
|
|
]),
|
|
'mem_free': 28530480,
|
|
'mem_total': 32766344,
|
|
'procs': 310,
|
|
'swap_free': 1944384,
|
|
'swap_total': 1953088,
|
|
'uptime': dict({
|
|
'days': 11,
|
|
'minutes': 1,
|
|
'seconds': 28,
|
|
}),
|
|
}),
|
|
'entry': dict({
|
|
'data': dict({
|
|
}),
|
|
'disabled_by': None,
|
|
'discovery_keys': dict({
|
|
}),
|
|
'domain': 'webmin',
|
|
'entry_id': '**REDACTED**',
|
|
'minor_version': 1,
|
|
'options': dict({
|
|
'host': '**REDACTED**',
|
|
'password': '**REDACTED**',
|
|
'port': 10000,
|
|
'ssl': True,
|
|
'username': '**REDACTED**',
|
|
'verify_ssl': False,
|
|
}),
|
|
'pref_disable_new_entities': False,
|
|
'pref_disable_polling': False,
|
|
'source': 'user',
|
|
'subentries': list([
|
|
]),
|
|
'title': '**REDACTED**',
|
|
'unique_id': None,
|
|
'version': 1,
|
|
}),
|
|
})
|
|
# ---
|