"Unit"/"sub-unit" from #199's multi-indoor-device support wasn't OCF idiomatic -- OCF calls each component of a composite device a "subdevice" (see subdeviceIdList), so rename SubUnit -> Subdevice throughout: the registry module, coordinator state, BoundEntity's subdevice field, diagnostics keys (subdevices/subdevices_skipped/ subdevice_probes), entity unique_id prefixes (unit1_/sub_<uuid>_ -> subdevice1_/subdevice_<uuid>_), device-name fallback labels, golden fixtures, tests, README, and the adding-device-support skill. Breaking change to entity unique_ids and diagnostics keys, acceptable since this hasn't been released yet.
28 lines
536 B
JSON
28 lines
536 B
JSON
{
|
|
"state_keys": [
|
|
"alarm_code",
|
|
"auto_clean_legacy",
|
|
"beep",
|
|
"clean_level",
|
|
"climate",
|
|
"current_temperature_c",
|
|
"diagnosis_status",
|
|
"dust",
|
|
"energy_kwh",
|
|
"fine_dust",
|
|
"good_sleep",
|
|
"humidity",
|
|
"odor",
|
|
"power_energy_kwh",
|
|
"power_watts",
|
|
"super_fine_dust",
|
|
"subdevice1_alarm_code",
|
|
"subdevice1_auto_clean_legacy",
|
|
"subdevice1_beep",
|
|
"subdevice1_climate",
|
|
"subdevice1_current_temperature_c",
|
|
"subdevice1_good_sleep",
|
|
"subdevice1_humidity"
|
|
]
|
|
}
|