Rename Tuya fixture files (#149927)

This commit is contained in:
epenet
2025-08-04 10:08:03 +02:00
committed by Franck Nijhof
parent 4596c1644b
commit 03bd133577
57 changed files with 965 additions and 965 deletions

View File

@@ -14,17 +14,17 @@ from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry from tests.common import MockConfigEntry
DEVICE_MOCKS = { DEVICE_MOCKS = {
"cl_am43_corded_motor_zigbee_cover": [ "cl_zah67ekd": [
# https://github.com/home-assistant/core/issues/71242 # https://github.com/home-assistant/core/issues/71242
Platform.COVER, Platform.COVER,
Platform.SELECT, Platform.SELECT,
], ],
"clkg_curtain_switch": [ "clkg_nhyj64w2": [
# https://github.com/home-assistant/core/issues/136055 # https://github.com/home-assistant/core/issues/136055
Platform.COVER, Platform.COVER,
Platform.LIGHT, Platform.LIGHT,
], ],
"co2bj_air_detector": [ "co2bj_yrr3eiyiacm31ski": [
# https://github.com/home-assistant/core/issues/133173 # https://github.com/home-assistant/core/issues/133173
Platform.BINARY_SENSOR, Platform.BINARY_SENSOR,
Platform.NUMBER, Platform.NUMBER,
@@ -32,15 +32,7 @@ DEVICE_MOCKS = {
Platform.SENSOR, Platform.SENSOR,
Platform.SIREN, Platform.SIREN,
], ],
"cs_arete_two_12l_dehumidifier_air_purifier": [ "cs_ka2wfrdoogpvgzfi": [
Platform.BINARY_SENSOR,
Platform.FAN,
Platform.HUMIDIFIER,
Platform.SELECT,
Platform.SENSOR,
Platform.SWITCH,
],
"cs_emma_dehumidifier": [
# https://github.com/home-assistant/core/issues/119865 # https://github.com/home-assistant/core/issues/119865
Platform.BINARY_SENSOR, Platform.BINARY_SENSOR,
Platform.FAN, Platform.FAN,
@@ -49,102 +41,110 @@ DEVICE_MOCKS = {
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"cs_smart_dry_plus": [ "cs_vmxuxszzjwp5smli": [
# https://github.com/home-assistant/core/issues/119865 # https://github.com/home-assistant/core/issues/119865
Platform.FAN, Platform.FAN,
Platform.HUMIDIFIER, Platform.HUMIDIFIER,
], ],
"cwjwq_smart_odor_eliminator": [ "cs_zibqa9dutqyaxym2": [
Platform.BINARY_SENSOR,
Platform.FAN,
Platform.HUMIDIFIER,
Platform.SELECT,
Platform.SENSOR,
Platform.SWITCH,
],
"cwjwq_agwu93lr": [
# https://github.com/orgs/home-assistant/discussions/79 # https://github.com/orgs/home-assistant/discussions/79
Platform.SELECT, Platform.SELECT,
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"cwwsq_cleverio_pf100": [ "cwwsq_wfkzyy0evslzsmoi": [
# https://github.com/home-assistant/core/issues/144745 # https://github.com/home-assistant/core/issues/144745
Platform.NUMBER, Platform.NUMBER,
Platform.SENSOR, Platform.SENSOR,
], ],
"cwysj_pixi_smart_drinking_fountain": [ "cwysj_z3rpyvznfcch99aa": [
# https://github.com/home-assistant/core/pull/146599 # https://github.com/home-assistant/core/pull/146599
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"cz_dual_channel_metering": [ "cz_2jxesipczks0kdct": [
# https://github.com/home-assistant/core/issues/147149 # https://github.com/home-assistant/core/issues/147149
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"dj_smart_light_bulb": [ "dj_mki13ie507rlry4r": [
# https://github.com/home-assistant/core/pull/126242 # https://github.com/home-assistant/core/pull/126242
Platform.LIGHT Platform.LIGHT
], ],
"dlq_earu_electric_eawcpt": [ "dlq_0tnvg2xaisqdadcf": [
# https://github.com/home-assistant/core/issues/102769 # https://github.com/home-assistant/core/issues/102769
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"dlq_metering_3pn_wifi": [ "dlq_kxdr6su0c55p7bbo": [
# https://github.com/home-assistant/core/issues/143499 # https://github.com/home-assistant/core/issues/143499
Platform.SENSOR, Platform.SENSOR,
], ],
"gyd_night_light": [ "gyd_lgekqfxdabipm3tn": [
# https://github.com/home-assistant/core/issues/133173 # https://github.com/home-assistant/core/issues/133173
Platform.LIGHT, Platform.LIGHT,
], ],
"kg_smart_valve": [ "kg_gbm9ata1zrzaez4a": [
# https://github.com/home-assistant/core/issues/148347 # https://github.com/home-assistant/core/issues/148347
Platform.SWITCH, Platform.SWITCH,
], ],
"kj_bladeless_tower_fan": [ "kj_yrzylxax1qspdgpp": [
# https://github.com/orgs/home-assistant/discussions/61 # https://github.com/orgs/home-assistant/discussions/61
Platform.FAN, Platform.FAN,
Platform.SELECT, Platform.SELECT,
Platform.SWITCH, Platform.SWITCH,
], ],
"ks_tower_fan": [ "ks_j9fa8ahzac8uvlfl": [
# https://github.com/orgs/home-assistant/discussions/329 # https://github.com/orgs/home-assistant/discussions/329
Platform.FAN, Platform.FAN,
Platform.LIGHT, Platform.LIGHT,
Platform.SWITCH, Platform.SWITCH,
], ],
"kt_serenelife_slpac905wuk_air_conditioner": [ "kt_5wnlzekkstwcdsvm": [
# https://github.com/home-assistant/core/pull/148646 # https://github.com/home-assistant/core/pull/148646
Platform.CLIMATE, Platform.CLIMATE,
], ],
"mal_alarm_host": [ "mal_gyitctrjj1kefxp2": [
# Alarm Host support # Alarm Host support
Platform.ALARM_CONTROL_PANEL, Platform.ALARM_CONTROL_PANEL,
Platform.NUMBER, Platform.NUMBER,
Platform.SWITCH, Platform.SWITCH,
], ],
"mcs_door_sensor": [ "mcs_7jIGJAymiH8OsFFb": [
# https://github.com/home-assistant/core/issues/108301 # https://github.com/home-assistant/core/issues/108301
Platform.BINARY_SENSOR, Platform.BINARY_SENSOR,
Platform.SENSOR, Platform.SENSOR,
], ],
"qccdz_ac_charging_control": [ "qccdz_7bvgooyjhiua1yyq": [
# https://github.com/home-assistant/core/issues/136207 # https://github.com/home-assistant/core/issues/136207
Platform.SWITCH, Platform.SWITCH,
], ],
"qxj_temp_humidity_external_probe": [ "qxj_fsea1lat3vuktbt6": [
# https://github.com/home-assistant/core/issues/136472
Platform.SENSOR,
],
"qxj_weather_station": [
# https://github.com/orgs/home-assistant/discussions/318 # https://github.com/orgs/home-assistant/discussions/318
Platform.SENSOR, Platform.SENSOR,
], ],
"rqbj_gas_sensor": [ "qxj_is2indt9nlth6esa": [
# https://github.com/home-assistant/core/issues/136472
Platform.SENSOR,
],
"rqbj_4iqe2hsfyd86kwwc": [
# https://github.com/orgs/home-assistant/discussions/100 # https://github.com/orgs/home-assistant/discussions/100
Platform.BINARY_SENSOR, Platform.BINARY_SENSOR,
Platform.SENSOR, Platform.SENSOR,
], ],
"sfkzq_valve_controller": [ "sfkzq_o6dagifntoafakst": [
# https://github.com/home-assistant/core/issues/148116 # https://github.com/home-assistant/core/issues/148116
Platform.SWITCH, Platform.SWITCH,
], ],
"tdq_4_443": [ "tdq_cq1p0nt0a4rixnex": [
# https://github.com/home-assistant/core/issues/146845 # https://github.com/home-assistant/core/issues/146845
Platform.SELECT, Platform.SELECT,
Platform.SWITCH, Platform.SWITCH,
@@ -155,32 +155,32 @@ DEVICE_MOCKS = {
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"wk_air_conditioner": [ "wk_aqoouq7x": [
# https://github.com/home-assistant/core/issues/146263 # https://github.com/home-assistant/core/issues/146263
Platform.CLIMATE, Platform.CLIMATE,
Platform.SWITCH, Platform.SWITCH,
], ],
"ydkt_dolceclima_unsupported": [ "wk_fi6dne5tu4t1nm6j": [
# https://github.com/orgs/home-assistant/discussions/288
# unsupported device - no platforms
],
"wk_wifi_smart_gas_boiler_thermostat": [
# https://github.com/orgs/home-assistant/discussions/243 # https://github.com/orgs/home-assistant/discussions/243
Platform.CLIMATE, Platform.CLIMATE,
Platform.NUMBER, Platform.NUMBER,
Platform.SENSOR, Platform.SENSOR,
Platform.SWITCH, Platform.SWITCH,
], ],
"wsdcg_temperature_humidity": [ "wsdcg_g2y6z3p3ja2qhyav": [
# https://github.com/home-assistant/core/issues/102769 # https://github.com/home-assistant/core/issues/102769
Platform.SENSOR, Platform.SENSOR,
], ],
"wxkg_wireless_switch": [ "wxkg_l8yaz4um5b3pwyvf": [
# https://github.com/home-assistant/core/issues/93975 # https://github.com/home-assistant/core/issues/93975
Platform.EVENT, Platform.EVENT,
Platform.SENSOR, Platform.SENSOR,
], ],
"zndb_smart_meter": [ "ydkt_jevroj5aguwdbs2e": [
# https://github.com/orgs/home-assistant/discussions/288
# unsupported device - no platforms
],
"zndb_ze8faryrxr0glqnn": [
# https://github.com/home-assistant/core/issues/138372 # https://github.com/home-assistant/core/issues/138372
Platform.SENSOR, Platform.SENSOR,
], ],

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[mal_alarm_host][alarm_control_panel.multifunction_alarm-entry] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][alarm_control_panel.multifunction_alarm-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -34,7 +34,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][alarm_control_panel.multifunction_alarm-state] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][alarm_control_panel.multifunction_alarm-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'changed_by': None, 'changed_by': None,

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[co2bj_air_detector][binary_sensor.aqi_safety-entry] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][binary_sensor.aqi_safety-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -34,7 +34,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[co2bj_air_detector][binary_sensor.aqi_safety-state] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][binary_sensor.aqi_safety-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'safety', 'device_class': 'safety',
@@ -48,154 +48,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][binary_sensor.dehumidifier_defrost-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][binary_sensor.dehumidifer_defrost-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.dehumidifier_defrost',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Defrost',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'defrost',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqdefrost',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][binary_sensor.dehumidifier_defrost-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'problem',
'friendly_name': 'Dehumidifier Defrost',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.dehumidifier_defrost',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][binary_sensor.dehumidifier_tank_full-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.dehumidifier_tank_full',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Tank full',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'tankfull',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqtankfull',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][binary_sensor.dehumidifier_tank_full-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'problem',
'friendly_name': 'Dehumidifier Tank full',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.dehumidifier_tank_full',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][binary_sensor.dehumidifier_wet-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.dehumidifier_wet',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Wet',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'wet',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqwet',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][binary_sensor.dehumidifier_wet-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'problem',
'friendly_name': 'Dehumidifier Wet',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.dehumidifier_wet',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][binary_sensor.dehumidifer_defrost-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -230,7 +83,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][binary_sensor.dehumidifer_defrost-state] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][binary_sensor.dehumidifer_defrost-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'problem', 'device_class': 'problem',
@@ -244,7 +97,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][binary_sensor.dehumidifer_tank_full-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][binary_sensor.dehumidifer_tank_full-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -279,7 +132,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][binary_sensor.dehumidifer_tank_full-state] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][binary_sensor.dehumidifer_tank_full-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'problem', 'device_class': 'problem',
@@ -293,7 +146,154 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mcs_door_sensor][binary_sensor.door_garage_door-entry] # name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][binary_sensor.dehumidifier_defrost-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.dehumidifier_defrost',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Defrost',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'defrost',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqdefrost',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][binary_sensor.dehumidifier_defrost-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'problem',
'friendly_name': 'Dehumidifier Defrost',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.dehumidifier_defrost',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][binary_sensor.dehumidifier_tank_full-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.dehumidifier_tank_full',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Tank full',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'tankfull',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqtankfull',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][binary_sensor.dehumidifier_tank_full-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'problem',
'friendly_name': 'Dehumidifier Tank full',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.dehumidifier_tank_full',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][binary_sensor.dehumidifier_wet-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.dehumidifier_wet',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Wet',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'wet',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqwet',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][binary_sensor.dehumidifier_wet-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'problem',
'friendly_name': 'Dehumidifier Wet',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.dehumidifier_wet',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[mcs_7jIGJAymiH8OsFFb][binary_sensor.door_garage_door-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -328,7 +328,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mcs_door_sensor][binary_sensor.door_garage_door-state] # name: test_platform_setup_and_discovery[mcs_7jIGJAymiH8OsFFb][binary_sensor.door_garage_door-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'door', 'device_class': 'door',
@@ -342,7 +342,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[rqbj_gas_sensor][binary_sensor.gas_sensor_gas-entry] # name: test_platform_setup_and_discovery[rqbj_4iqe2hsfyd86kwwc][binary_sensor.gas_sensor_gas-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -377,7 +377,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[rqbj_gas_sensor][binary_sensor.gas_sensor_gas-state] # name: test_platform_setup_and_discovery[rqbj_4iqe2hsfyd86kwwc][binary_sensor.gas_sensor_gas-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'gas', 'device_class': 'gas',

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[kt_serenelife_slpac905wuk_air_conditioner][climate.air_conditioner-entry] # name: test_platform_setup_and_discovery[kt_5wnlzekkstwcdsvm][climate.air_conditioner-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -46,7 +46,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kt_serenelife_slpac905wuk_air_conditioner][climate.air_conditioner-state] # name: test_platform_setup_and_discovery[kt_5wnlzekkstwcdsvm][climate.air_conditioner-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_temperature': 22.0, 'current_temperature': 22.0,
@@ -74,7 +74,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_air_conditioner][climate.clima_cucina-entry] # name: test_platform_setup_and_discovery[wk_aqoouq7x][climate.clima_cucina-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -124,7 +124,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_air_conditioner][climate.clima_cucina-state] # name: test_platform_setup_and_discovery[wk_aqoouq7x][climate.clima_cucina-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_temperature': 27.0, 'current_temperature': 27.0,
@@ -155,7 +155,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_wifi_smart_gas_boiler_thermostat][climate.wifi_smart_gas_boiler_thermostat-entry] # name: test_platform_setup_and_discovery[wk_fi6dne5tu4t1nm6j][climate.wifi_smart_gas_boiler_thermostat-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -198,7 +198,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_wifi_smart_gas_boiler_thermostat][climate.wifi_smart_gas_boiler_thermostat-state] # name: test_platform_setup_and_discovery[wk_fi6dne5tu4t1nm6j][climate.wifi_smart_gas_boiler_thermostat-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_temperature': 24.9, 'current_temperature': 24.9,

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][cover.kitchen_blinds_curtain-entry] # name: test_platform_setup_and_discovery[cl_zah67ekd][cover.kitchen_blinds_curtain-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -34,7 +34,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][cover.kitchen_blinds_curtain-state] # name: test_platform_setup_and_discovery[cl_zah67ekd][cover.kitchen_blinds_curtain-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_position': 48, 'current_position': 48,
@@ -50,7 +50,7 @@
'state': 'open', 'state': 'open',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[clkg_curtain_switch][cover.tapparelle_studio_curtain-entry] # name: test_platform_setup_and_discovery[clkg_nhyj64w2][cover.tapparelle_studio_curtain-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -85,7 +85,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[clkg_curtain_switch][cover.tapparelle_studio_curtain-state] # name: test_platform_setup_and_discovery[clkg_nhyj64w2][cover.tapparelle_studio_curtain-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_position': 0, 'current_position': 0,

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_device_diagnostics[rqbj_gas_sensor] # name: test_device_diagnostics[rqbj_4iqe2hsfyd86kwwc]
dict({ dict({
'active_time': '2025-06-24T20:33:10+00:00', 'active_time': '2025-06-24T20:33:10+00:00',
'category': 'rqbj', 'category': 'rqbj',
@@ -88,7 +88,7 @@
'update_time': '2025-06-24T20:33:10+00:00', 'update_time': '2025-06-24T20:33:10+00:00',
}) })
# --- # ---
# name: test_entry_diagnostics[rqbj_gas_sensor] # name: test_entry_diagnostics[rqbj_4iqe2hsfyd86kwwc]
dict({ dict({
'devices': list([ 'devices': list([
dict({ dict({

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[wxkg_wireless_switch][event.bathroom_smart_switch_button_1-entry] # name: test_platform_setup_and_discovery[wxkg_l8yaz4um5b3pwyvf][event.bathroom_smart_switch_button_1-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -39,7 +39,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wxkg_wireless_switch][event.bathroom_smart_switch_button_1-state] # name: test_platform_setup_and_discovery[wxkg_l8yaz4um5b3pwyvf][event.bathroom_smart_switch_button_1-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'button', 'device_class': 'button',
@@ -58,7 +58,7 @@
'state': 'unknown', 'state': 'unknown',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wxkg_wireless_switch][event.bathroom_smart_switch_button_2-entry] # name: test_platform_setup_and_discovery[wxkg_l8yaz4um5b3pwyvf][event.bathroom_smart_switch_button_2-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -98,7 +98,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wxkg_wireless_switch][event.bathroom_smart_switch_button_2-state] # name: test_platform_setup_and_discovery[wxkg_l8yaz4um5b3pwyvf][event.bathroom_smart_switch_button_2-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'button', 'device_class': 'button',

View File

@@ -1,55 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][fan.dehumidifier-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][fan.dehumidifer-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'fan',
'entity_category': None,
'entity_id': 'fan.dehumidifier',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': None,
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': <FanEntityFeature: 48>,
'translation_key': None,
'unique_id': 'tuya.bf3fce6af592f12df3gbgq',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][fan.dehumidifier-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier',
'supported_features': <FanEntityFeature: 48>,
}),
'context': <ANY>,
'entity_id': 'fan.dehumidifier',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][fan.dehumidifer-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -87,7 +37,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][fan.dehumidifer-state] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][fan.dehumidifer-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifer', 'friendly_name': 'Dehumidifer',
@@ -103,7 +53,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_smart_dry_plus][fan.dehumidifier-entry] # name: test_platform_setup_and_discovery[cs_vmxuxszzjwp5smli][fan.dehumidifier-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -139,7 +89,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_smart_dry_plus][fan.dehumidifier-state] # name: test_platform_setup_and_discovery[cs_vmxuxszzjwp5smli][fan.dehumidifier-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier ', 'friendly_name': 'Dehumidifier ',
@@ -153,7 +103,57 @@
'state': 'unknown', 'state': 'unknown',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kj_bladeless_tower_fan][fan.bree-entry] # name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][fan.dehumidifier-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'fan',
'entity_category': None,
'entity_id': 'fan.dehumidifier',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': None,
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': <FanEntityFeature: 48>,
'translation_key': None,
'unique_id': 'tuya.bf3fce6af592f12df3gbgq',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][fan.dehumidifier-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier',
'supported_features': <FanEntityFeature: 48>,
}),
'context': <ANY>,
'entity_id': 'fan.dehumidifier',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_platform_setup_and_discovery[kj_yrzylxax1qspdgpp][fan.bree-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -192,7 +192,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kj_bladeless_tower_fan][fan.bree-state] # name: test_platform_setup_and_discovery[kj_yrzylxax1qspdgpp][fan.bree-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Bree', 'friendly_name': 'Bree',
@@ -210,7 +210,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[ks_tower_fan][fan.tower_fan_ca_407g_smart-entry] # name: test_platform_setup_and_discovery[ks_j9fa8ahzac8uvlfl][fan.tower_fan_ca_407g_smart-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -251,7 +251,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[ks_tower_fan][fan.tower_fan_ca_407g_smart-state] # name: test_platform_setup_and_discovery[ks_j9fa8ahzac8uvlfl][fan.tower_fan_ca_407g_smart-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Tower Fan CA-407G Smart', 'friendly_name': 'Tower Fan CA-407G Smart',

View File

@@ -1,5 +1,115 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][humidifier.dehumidifier-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][humidifier.dehumidifer-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_humidity': 80,
'min_humidity': 25,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'humidifier',
'entity_category': None,
'entity_id': 'humidifier.dehumidifer',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <HumidifierDeviceClass.DEHUMIDIFIER: 'dehumidifier'>,
'original_icon': None,
'original_name': None,
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'tuya.mock_device_idswitch',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][humidifier.dehumidifer-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'dehumidifier',
'friendly_name': 'Dehumidifer',
'max_humidity': 80,
'min_humidity': 25,
'supported_features': <HumidifierEntityFeature: 0>,
}),
'context': <ANY>,
'entity_id': 'humidifier.dehumidifer',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_platform_setup_and_discovery[cs_vmxuxszzjwp5smli][humidifier.dehumidifier-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_humidity': 100,
'min_humidity': 0,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'humidifier',
'entity_category': None,
'entity_id': 'humidifier.dehumidifier',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <HumidifierDeviceClass.DEHUMIDIFIER: 'dehumidifier'>,
'original_icon': None,
'original_name': None,
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'tuya.mock_device_idswitch',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_vmxuxszzjwp5smli][humidifier.dehumidifier-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'dehumidifier',
'friendly_name': 'Dehumidifier ',
'max_humidity': 100,
'min_humidity': 0,
'supported_features': <HumidifierEntityFeature: 0>,
}),
'context': <ANY>,
'entity_id': 'humidifier.dehumidifier',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][humidifier.dehumidifier-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -37,7 +147,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][humidifier.dehumidifier-state] # name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][humidifier.dehumidifier-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'current_humidity': 47, 'current_humidity': 47,
@@ -56,113 +166,3 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][humidifier.dehumidifer-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_humidity': 80,
'min_humidity': 25,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'humidifier',
'entity_category': None,
'entity_id': 'humidifier.dehumidifer',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <HumidifierDeviceClass.DEHUMIDIFIER: 'dehumidifier'>,
'original_icon': None,
'original_name': None,
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'tuya.mock_device_idswitch',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][humidifier.dehumidifer-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'dehumidifier',
'friendly_name': 'Dehumidifer',
'max_humidity': 80,
'min_humidity': 25,
'supported_features': <HumidifierEntityFeature: 0>,
}),
'context': <ANY>,
'entity_id': 'humidifier.dehumidifer',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_platform_setup_and_discovery[cs_smart_dry_plus][humidifier.dehumidifier-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_humidity': 100,
'min_humidity': 0,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'humidifier',
'entity_category': None,
'entity_id': 'humidifier.dehumidifier',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <HumidifierDeviceClass.DEHUMIDIFIER: 'dehumidifier'>,
'original_icon': None,
'original_name': None,
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'tuya.mock_device_idswitch',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_smart_dry_plus][humidifier.dehumidifier-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'dehumidifier',
'friendly_name': 'Dehumidifier ',
'max_humidity': 100,
'min_humidity': 0,
'supported_features': <HumidifierEntityFeature: 0>,
}),
'context': <ANY>,
'entity_id': 'humidifier.dehumidifier',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_unsupported_device[ydkt_dolceclima_unsupported] # name: test_unsupported_device[ydkt_jevroj5aguwdbs2e]
list([ list([
DeviceRegistryEntrySnapshot({ DeviceRegistryEntrySnapshot({
'area_id': None, 'area_id': None,

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[clkg_curtain_switch][light.tapparelle_studio_backlight-entry] # name: test_platform_setup_and_discovery[clkg_nhyj64w2][light.tapparelle_studio_backlight-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -38,7 +38,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[clkg_curtain_switch][light.tapparelle_studio_backlight-state] # name: test_platform_setup_and_discovery[clkg_nhyj64w2][light.tapparelle_studio_backlight-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'color_mode': <ColorMode.ONOFF: 'onoff'>, 'color_mode': <ColorMode.ONOFF: 'onoff'>,
@@ -56,7 +56,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[dj_smart_light_bulb][light.garage_light-entry] # name: test_platform_setup_and_discovery[dj_mki13ie507rlry4r][light.garage_light-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -96,7 +96,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[dj_smart_light_bulb][light.garage_light-state] # name: test_platform_setup_and_discovery[dj_mki13ie507rlry4r][light.garage_light-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'brightness': 138, 'brightness': 138,
@@ -119,7 +119,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[gyd_night_light][light.colorful_pir_night_light-entry] # name: test_platform_setup_and_discovery[gyd_lgekqfxdabipm3tn][light.colorful_pir_night_light-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -163,7 +163,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[gyd_night_light][light.colorful_pir_night_light-state] # name: test_platform_setup_and_discovery[gyd_lgekqfxdabipm3tn][light.colorful_pir_night_light-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'brightness': None, 'brightness': None,
@@ -192,7 +192,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[ks_tower_fan][light.tower_fan_ca_407g_smart_backlight-entry] # name: test_platform_setup_and_discovery[ks_j9fa8ahzac8uvlfl][light.tower_fan_ca_407g_smart_backlight-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -231,7 +231,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[ks_tower_fan][light.tower_fan_ca_407g_smart_backlight-state] # name: test_platform_setup_and_discovery[ks_j9fa8ahzac8uvlfl][light.tower_fan_ca_407g_smart_backlight-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'color_mode': <ColorMode.ONOFF: 'onoff'>, 'color_mode': <ColorMode.ONOFF: 'onoff'>,

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[co2bj_air_detector][number.aqi_alarm_duration-entry] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][number.aqi_alarm_duration-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -39,7 +39,7 @@
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>, 'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[co2bj_air_detector][number.aqi_alarm_duration-state] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][number.aqi_alarm_duration-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'duration', 'device_class': 'duration',
@@ -58,7 +58,7 @@
'state': '1.0', 'state': '1.0',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwwsq_cleverio_pf100][number.cleverio_pf100_feed-entry] # name: test_platform_setup_and_discovery[cwwsq_wfkzyy0evslzsmoi][number.cleverio_pf100_feed-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -98,7 +98,7 @@
'unit_of_measurement': '', 'unit_of_measurement': '',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwwsq_cleverio_pf100][number.cleverio_pf100_feed-state] # name: test_platform_setup_and_discovery[cwwsq_wfkzyy0evslzsmoi][number.cleverio_pf100_feed-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Cleverio PF100 Feed', 'friendly_name': 'Cleverio PF100 Feed',
@@ -116,7 +116,7 @@
'state': '1.0', 'state': '1.0',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][number.multifunction_alarm_alarm_delay-entry] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][number.multifunction_alarm_alarm_delay-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -156,7 +156,7 @@
'unit_of_measurement': 's', 'unit_of_measurement': 's',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][number.multifunction_alarm_alarm_delay-state] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][number.multifunction_alarm_alarm_delay-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'duration', 'device_class': 'duration',
@@ -175,7 +175,7 @@
'state': '20.0', 'state': '20.0',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][number.multifunction_alarm_arm_delay-entry] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][number.multifunction_alarm_arm_delay-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -215,7 +215,7 @@
'unit_of_measurement': 's', 'unit_of_measurement': 's',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][number.multifunction_alarm_arm_delay-state] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][number.multifunction_alarm_arm_delay-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'duration', 'device_class': 'duration',
@@ -234,7 +234,7 @@
'state': '15.0', 'state': '15.0',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][number.multifunction_alarm_siren_duration-entry] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][number.multifunction_alarm_siren_duration-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -274,7 +274,7 @@
'unit_of_measurement': 'min', 'unit_of_measurement': 'min',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][number.multifunction_alarm_siren_duration-state] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][number.multifunction_alarm_siren_duration-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'duration', 'device_class': 'duration',
@@ -293,7 +293,7 @@
'state': '3.0', 'state': '3.0',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_wifi_smart_gas_boiler_thermostat][number.wifi_smart_gas_boiler_thermostat_temperature_correction-entry] # name: test_platform_setup_and_discovery[wk_fi6dne5tu4t1nm6j][number.wifi_smart_gas_boiler_thermostat_temperature_correction-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -333,7 +333,7 @@
'unit_of_measurement': '℃', 'unit_of_measurement': '℃',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_wifi_smart_gas_boiler_thermostat][number.wifi_smart_gas_boiler_thermostat_temperature_correction-state] # name: test_platform_setup_and_discovery[wk_fi6dne5tu4t1nm6j][number.wifi_smart_gas_boiler_thermostat_temperature_correction-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'WiFi Smart Gas Boiler Thermostat Temperature correction', 'friendly_name': 'WiFi Smart Gas Boiler Thermostat Temperature correction',

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][select.kitchen_blinds_motor_mode-entry] # name: test_platform_setup_and_discovery[cl_zah67ekd][select.kitchen_blinds_motor_mode-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -39,7 +39,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cl_am43_corded_motor_zigbee_cover][select.kitchen_blinds_motor_mode-state] # name: test_platform_setup_and_discovery[cl_zah67ekd][select.kitchen_blinds_motor_mode-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Kitchen Blinds Motor mode', 'friendly_name': 'Kitchen Blinds Motor mode',
@@ -56,7 +56,7 @@
'state': 'forward', 'state': 'forward',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[co2bj_air_detector][select.aqi_volume-entry] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][select.aqi_volume-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -98,7 +98,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[co2bj_air_detector][select.aqi_volume-state] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][select.aqi_volume-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'AQI Volume', 'friendly_name': 'AQI Volume',
@@ -117,68 +117,7 @@
'state': 'low', 'state': 'low',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][select.dehumidifier_countdown-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][select.dehumidifer_countdown-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'cancel',
'1h',
'2h',
'3h',
]),
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'select',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.dehumidifier_countdown',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Countdown',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'countdown',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqcountdown_set',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][select.dehumidifier_countdown-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier Countdown',
'options': list([
'cancel',
'1h',
'2h',
'3h',
]),
}),
'context': <ANY>,
'entity_id': 'select.dehumidifier_countdown',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'cancel',
})
# ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][select.dehumidifer_countdown-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -220,7 +159,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][select.dehumidifer_countdown-state] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][select.dehumidifer_countdown-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifer Countdown', 'friendly_name': 'Dehumidifer Countdown',
@@ -239,7 +178,68 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwjwq_smart_odor_eliminator][select.smart_odor_eliminator_pro_odor_elimination_mode-entry] # name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][select.dehumidifier_countdown-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'cancel',
'1h',
'2h',
'3h',
]),
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'select',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.dehumidifier_countdown',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Countdown',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'countdown',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqcountdown_set',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][select.dehumidifier_countdown-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier Countdown',
'options': list([
'cancel',
'1h',
'2h',
'3h',
]),
}),
'context': <ANY>,
'entity_id': 'select.dehumidifier_countdown',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'cancel',
})
# ---
# name: test_platform_setup_and_discovery[cwjwq_agwu93lr][select.smart_odor_eliminator_pro_odor_elimination_mode-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -279,7 +279,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwjwq_smart_odor_eliminator][select.smart_odor_eliminator_pro_odor_elimination_mode-state] # name: test_platform_setup_and_discovery[cwjwq_agwu93lr][select.smart_odor_eliminator_pro_odor_elimination_mode-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Smart Odor Eliminator-Pro Odor elimination mode', 'friendly_name': 'Smart Odor Eliminator-Pro Odor elimination mode',
@@ -296,7 +296,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kj_bladeless_tower_fan][select.bree_countdown-entry] # name: test_platform_setup_and_discovery[kj_yrzylxax1qspdgpp][select.bree_countdown-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -340,7 +340,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kj_bladeless_tower_fan][select.bree_countdown-state] # name: test_platform_setup_and_discovery[kj_yrzylxax1qspdgpp][select.bree_countdown-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Bree Countdown', 'friendly_name': 'Bree Countdown',
@@ -361,7 +361,7 @@
'state': 'cancel', 'state': 'cancel',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][select.4_433_power_on_behavior-entry] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][select.4_433_power_on_behavior-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -402,7 +402,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][select.4_433_power_on_behavior-state] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][select.4_433_power_on_behavior-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': '4-433 Power on behavior', 'friendly_name': '4-433 Power on behavior',

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[co2bj_air_detector][siren.aqi-entry] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][siren.aqi-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -34,7 +34,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[co2bj_air_detector][siren.aqi-state] # name: test_platform_setup_and_discovery[co2bj_yrr3eiyiacm31ski][siren.aqi-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'AQI', 'friendly_name': 'AQI',

View File

@@ -1,54 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][switch.dehumidifier_child_lock-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][switch.dehumidifer_child_lock-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'switch',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'switch.dehumidifier_child_lock',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': 'mdi:account-lock',
'original_name': 'Child lock',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'child_lock',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqchild_lock',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_arete_two_12l_dehumidifier_air_purifier][switch.dehumidifier_child_lock-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier Child lock',
'icon': 'mdi:account-lock',
}),
'context': <ANY>,
'entity_id': 'switch.dehumidifier_child_lock',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][switch.dehumidifer_child_lock-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -83,7 +34,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][switch.dehumidifer_child_lock-state] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][switch.dehumidifer_child_lock-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifer Child lock', 'friendly_name': 'Dehumidifer Child lock',
@@ -97,7 +48,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][switch.dehumidifer_ionizer-entry] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][switch.dehumidifer_ionizer-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -132,7 +83,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cs_emma_dehumidifier][switch.dehumidifer_ionizer-state] # name: test_platform_setup_and_discovery[cs_ka2wfrdoogpvgzfi][switch.dehumidifer_ionizer-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifer Ionizer', 'friendly_name': 'Dehumidifer Ionizer',
@@ -146,7 +97,56 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwjwq_smart_odor_eliminator][switch.smart_odor_eliminator_pro_switch-entry] # name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][switch.dehumidifier_child_lock-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'switch',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'switch.dehumidifier_child_lock',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': 'mdi:account-lock',
'original_name': 'Child lock',
'platform': 'tuya',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'child_lock',
'unique_id': 'tuya.bf3fce6af592f12df3gbgqchild_lock',
'unit_of_measurement': None,
})
# ---
# name: test_platform_setup_and_discovery[cs_zibqa9dutqyaxym2][switch.dehumidifier_child_lock-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Dehumidifier Child lock',
'icon': 'mdi:account-lock',
}),
'context': <ANY>,
'entity_id': 'switch.dehumidifier_child_lock',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_platform_setup_and_discovery[cwjwq_agwu93lr][switch.smart_odor_eliminator_pro_switch-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -181,7 +181,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwjwq_smart_odor_eliminator][switch.smart_odor_eliminator_pro_switch-state] # name: test_platform_setup_and_discovery[cwjwq_agwu93lr][switch.smart_odor_eliminator_pro_switch-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Smart Odor Eliminator-Pro Switch', 'friendly_name': 'Smart Odor Eliminator-Pro Switch',
@@ -194,7 +194,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_filter_reset-entry] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_filter_reset-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -229,7 +229,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_filter_reset-state] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_filter_reset-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'PIXI Smart Drinking Fountain Filter reset', 'friendly_name': 'PIXI Smart Drinking Fountain Filter reset',
@@ -242,7 +242,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_power-entry] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_power-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -277,7 +277,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_power-state] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_power-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'PIXI Smart Drinking Fountain Power', 'friendly_name': 'PIXI Smart Drinking Fountain Power',
@@ -290,7 +290,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_reset_of_water_usage_days-entry] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_reset_of_water_usage_days-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -325,7 +325,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_reset_of_water_usage_days-state] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_reset_of_water_usage_days-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'PIXI Smart Drinking Fountain Reset of water usage days', 'friendly_name': 'PIXI Smart Drinking Fountain Reset of water usage days',
@@ -338,7 +338,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_uv_sterilization-entry] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_uv_sterilization-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -373,7 +373,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_uv_sterilization-state] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_uv_sterilization-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'PIXI Smart Drinking Fountain UV sterilization', 'friendly_name': 'PIXI Smart Drinking Fountain UV sterilization',
@@ -386,7 +386,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_water_pump_reset-entry] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_water_pump_reset-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -421,7 +421,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cwysj_pixi_smart_drinking_fountain][switch.pixi_smart_drinking_fountain_water_pump_reset-state] # name: test_platform_setup_and_discovery[cwysj_z3rpyvznfcch99aa][switch.pixi_smart_drinking_fountain_water_pump_reset-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'PIXI Smart Drinking Fountain Water pump reset', 'friendly_name': 'PIXI Smart Drinking Fountain Water pump reset',
@@ -434,7 +434,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cz_dual_channel_metering][switch.hvac_meter_socket_1-entry] # name: test_platform_setup_and_discovery[cz_2jxesipczks0kdct][switch.hvac_meter_socket_1-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -469,7 +469,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cz_dual_channel_metering][switch.hvac_meter_socket_1-state] # name: test_platform_setup_and_discovery[cz_2jxesipczks0kdct][switch.hvac_meter_socket_1-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -483,7 +483,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cz_dual_channel_metering][switch.hvac_meter_socket_2-entry] # name: test_platform_setup_and_discovery[cz_2jxesipczks0kdct][switch.hvac_meter_socket_2-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -518,7 +518,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[cz_dual_channel_metering][switch.hvac_meter_socket_2-state] # name: test_platform_setup_and_discovery[cz_2jxesipczks0kdct][switch.hvac_meter_socket_2-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -532,7 +532,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[dlq_earu_electric_eawcpt][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_child_lock-entry] # name: test_platform_setup_and_discovery[dlq_0tnvg2xaisqdadcf][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_child_lock-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -567,7 +567,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[dlq_earu_electric_eawcpt][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_child_lock-state] # name: test_platform_setup_and_discovery[dlq_0tnvg2xaisqdadcf][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_child_lock-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': '一路带计量磁保持通断器 Child lock', 'friendly_name': '一路带计量磁保持通断器 Child lock',
@@ -580,7 +580,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[dlq_earu_electric_eawcpt][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_switch-entry] # name: test_platform_setup_and_discovery[dlq_0tnvg2xaisqdadcf][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_switch-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -615,7 +615,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[dlq_earu_electric_eawcpt][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_switch-state] # name: test_platform_setup_and_discovery[dlq_0tnvg2xaisqdadcf][switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_switch-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': '一路带计量磁保持通断器 Switch', 'friendly_name': '一路带计量磁保持通断器 Switch',
@@ -628,7 +628,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kg_smart_valve][switch.qt_switch_switch_1-entry] # name: test_platform_setup_and_discovery[kg_gbm9ata1zrzaez4a][switch.qt_switch_switch_1-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -663,7 +663,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kg_smart_valve][switch.qt_switch_switch_1-state] # name: test_platform_setup_and_discovery[kg_gbm9ata1zrzaez4a][switch.qt_switch_switch_1-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -677,7 +677,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kj_bladeless_tower_fan][switch.bree_power-entry] # name: test_platform_setup_and_discovery[kj_yrzylxax1qspdgpp][switch.bree_power-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -712,7 +712,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[kj_bladeless_tower_fan][switch.bree_power-state] # name: test_platform_setup_and_discovery[kj_yrzylxax1qspdgpp][switch.bree_power-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Bree Power', 'friendly_name': 'Bree Power',
@@ -725,7 +725,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[ks_tower_fan][switch.tower_fan_ca_407g_smart_ionizer-entry] # name: test_platform_setup_and_discovery[ks_j9fa8ahzac8uvlfl][switch.tower_fan_ca_407g_smart_ionizer-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -760,7 +760,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[ks_tower_fan][switch.tower_fan_ca_407g_smart_ionizer-state] # name: test_platform_setup_and_discovery[ks_j9fa8ahzac8uvlfl][switch.tower_fan_ca_407g_smart_ionizer-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Tower Fan CA-407G Smart Ionizer', 'friendly_name': 'Tower Fan CA-407G Smart Ionizer',
@@ -773,7 +773,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][switch.multifunction_alarm_arm_beep-entry] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][switch.multifunction_alarm_arm_beep-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -808,7 +808,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][switch.multifunction_alarm_arm_beep-state] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][switch.multifunction_alarm_arm_beep-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Multifunction alarm Arm beep', 'friendly_name': 'Multifunction alarm Arm beep',
@@ -821,7 +821,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][switch.multifunction_alarm_siren-entry] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][switch.multifunction_alarm_siren-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -856,7 +856,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[mal_alarm_host][switch.multifunction_alarm_siren-state] # name: test_platform_setup_and_discovery[mal_gyitctrjj1kefxp2][switch.multifunction_alarm_siren-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Multifunction alarm Siren', 'friendly_name': 'Multifunction alarm Siren',
@@ -869,7 +869,7 @@
'state': 'on', 'state': 'on',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[qccdz_ac_charging_control][switch.ac_charging_control_box_switch-entry] # name: test_platform_setup_and_discovery[qccdz_7bvgooyjhiua1yyq][switch.ac_charging_control_box_switch-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -904,7 +904,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[qccdz_ac_charging_control][switch.ac_charging_control_box_switch-state] # name: test_platform_setup_and_discovery[qccdz_7bvgooyjhiua1yyq][switch.ac_charging_control_box_switch-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'AC charging control box Switch', 'friendly_name': 'AC charging control box Switch',
@@ -917,7 +917,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[sfkzq_valve_controller][switch.sprinkler_cesare_switch-entry] # name: test_platform_setup_and_discovery[sfkzq_o6dagifntoafakst][switch.sprinkler_cesare_switch-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -952,7 +952,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[sfkzq_valve_controller][switch.sprinkler_cesare_switch-state] # name: test_platform_setup_and_discovery[sfkzq_o6dagifntoafakst][switch.sprinkler_cesare_switch-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Sprinkler Cesare Switch', 'friendly_name': 'Sprinkler Cesare Switch',
@@ -965,7 +965,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_1-entry] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_1-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -1000,7 +1000,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_1-state] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_1-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -1014,7 +1014,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_2-entry] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_2-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -1049,7 +1049,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_2-state] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_2-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -1063,7 +1063,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_3-entry] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_3-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -1098,7 +1098,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_3-state] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_3-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -1112,7 +1112,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_4-entry] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_4-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -1147,7 +1147,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[tdq_4_443][switch.4_433_switch_4-state] # name: test_platform_setup_and_discovery[tdq_cq1p0nt0a4rixnex][switch.4_433_switch_4-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'device_class': 'outlet', 'device_class': 'outlet',
@@ -1209,7 +1209,7 @@
'state': 'unavailable', 'state': 'unavailable',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_air_conditioner][switch.clima_cucina_child_lock-entry] # name: test_platform_setup_and_discovery[wk_aqoouq7x][switch.clima_cucina_child_lock-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -1244,7 +1244,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_air_conditioner][switch.clima_cucina_child_lock-state] # name: test_platform_setup_and_discovery[wk_aqoouq7x][switch.clima_cucina_child_lock-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'Clima cucina Child lock', 'friendly_name': 'Clima cucina Child lock',
@@ -1257,7 +1257,7 @@
'state': 'off', 'state': 'off',
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_wifi_smart_gas_boiler_thermostat][switch.wifi_smart_gas_boiler_thermostat_child_lock-entry] # name: test_platform_setup_and_discovery[wk_fi6dne5tu4t1nm6j][switch.wifi_smart_gas_boiler_thermostat_child_lock-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -1292,7 +1292,7 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_platform_setup_and_discovery[wk_wifi_smart_gas_boiler_thermostat][switch.wifi_smart_gas_boiler_thermostat_child_lock-state] # name: test_platform_setup_and_discovery[wk_fi6dne5tu4t1nm6j][switch.wifi_smart_gas_boiler_thermostat_child_lock-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'friendly_name': 'WiFi Smart Gas Boiler Thermostat Child lock', 'friendly_name': 'WiFi Smart Gas Boiler Thermostat Child lock',

View File

@@ -60,7 +60,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_arete_two_12l_dehumidifier_air_purifier"], ["cs_zibqa9dutqyaxym2"],
) )
@pytest.mark.parametrize( @pytest.mark.parametrize(
("fault_value", "tankfull", "defrost", "wet"), ("fault_value", "tankfull", "defrost", "wet"),
@@ -84,7 +84,7 @@ async def test_bitmap(
defrost: str, defrost: str,
wet: str, wet: str,
) -> None: ) -> None:
"""Test BITMAP fault sensor on cs_arete_two_12l_dehumidifier_air_purifier.""" """Test BITMAP fault sensor on cs_zibqa9dutqyaxym2."""
await initialize_entry(hass, mock_manager, mock_config_entry, mock_device) await initialize_entry(hass, mock_manager, mock_config_entry, mock_device)
assert hass.states.get("binary_sensor.dehumidifier_tank_full").state == "off" assert hass.states.get("binary_sensor.dehumidifier_tank_full").state == "off"

View File

@@ -66,7 +66,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["kt_serenelife_slpac905wuk_air_conditioner"], ["kt_5wnlzekkstwcdsvm"],
) )
async def test_set_temperature( async def test_set_temperature(
hass: HomeAssistant, hass: HomeAssistant,
@@ -96,7 +96,7 @@ async def test_set_temperature(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["kt_serenelife_slpac905wuk_air_conditioner"], ["kt_5wnlzekkstwcdsvm"],
) )
async def test_fan_mode_windspeed( async def test_fan_mode_windspeed(
hass: HomeAssistant, hass: HomeAssistant,
@@ -127,7 +127,7 @@ async def test_fan_mode_windspeed(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["kt_serenelife_slpac905wuk_air_conditioner"], ["kt_5wnlzekkstwcdsvm"],
) )
async def test_fan_mode_no_valid_code( async def test_fan_mode_no_valid_code(
hass: HomeAssistant, hass: HomeAssistant,
@@ -161,7 +161,7 @@ async def test_fan_mode_no_valid_code(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["kt_serenelife_slpac905wuk_air_conditioner"], ["kt_5wnlzekkstwcdsvm"],
) )
async def test_set_humidity_not_supported( async def test_set_humidity_not_supported(
hass: HomeAssistant, hass: HomeAssistant,

View File

@@ -67,7 +67,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
@patch("homeassistant.components.tuya.PLATFORMS", [Platform.COVER]) @patch("homeassistant.components.tuya.PLATFORMS", [Platform.COVER])
async def test_open_service( async def test_open_service(
@@ -101,7 +101,7 @@ async def test_open_service(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
@patch("homeassistant.components.tuya.PLATFORMS", [Platform.COVER]) @patch("homeassistant.components.tuya.PLATFORMS", [Platform.COVER])
async def test_close_service( async def test_close_service(
@@ -135,7 +135,7 @@ async def test_close_service(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
async def test_set_position( async def test_set_position(
hass: HomeAssistant, hass: HomeAssistant,
@@ -168,7 +168,7 @@ async def test_set_position(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
@pytest.mark.parametrize( @pytest.mark.parametrize(
("percent_control", "percent_state"), ("percent_control", "percent_state"),
@@ -202,7 +202,7 @@ async def test_percent_state_on_cover(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
async def test_set_tilt_position_not_supported( async def test_set_tilt_position_not_supported(
hass: HomeAssistant, hass: HomeAssistant,

View File

@@ -22,7 +22,7 @@ from tests.components.diagnostics import (
from tests.typing import ClientSessionGenerator from tests.typing import ClientSessionGenerator
@pytest.mark.parametrize("mock_device_code", ["rqbj_gas_sensor"]) @pytest.mark.parametrize("mock_device_code", ["rqbj_4iqe2hsfyd86kwwc"])
async def test_entry_diagnostics( async def test_entry_diagnostics(
hass: HomeAssistant, hass: HomeAssistant,
mock_manager: ManagerCompat, mock_manager: ManagerCompat,
@@ -43,7 +43,7 @@ async def test_entry_diagnostics(
) )
@pytest.mark.parametrize("mock_device_code", ["rqbj_gas_sensor"]) @pytest.mark.parametrize("mock_device_code", ["rqbj_4iqe2hsfyd86kwwc"])
async def test_device_diagnostics( async def test_device_diagnostics(
hass: HomeAssistant, hass: HomeAssistant,
mock_manager: ManagerCompat, mock_manager: ManagerCompat,

View File

@@ -65,7 +65,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_arete_two_12l_dehumidifier_air_purifier"], ["cs_zibqa9dutqyaxym2"],
) )
async def test_turn_on( async def test_turn_on(
hass: HomeAssistant, hass: HomeAssistant,
@@ -92,7 +92,7 @@ async def test_turn_on(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_arete_two_12l_dehumidifier_air_purifier"], ["cs_zibqa9dutqyaxym2"],
) )
async def test_turn_off( async def test_turn_off(
hass: HomeAssistant, hass: HomeAssistant,
@@ -119,7 +119,7 @@ async def test_turn_off(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_arete_two_12l_dehumidifier_air_purifier"], ["cs_zibqa9dutqyaxym2"],
) )
async def test_set_humidity( async def test_set_humidity(
hass: HomeAssistant, hass: HomeAssistant,
@@ -149,7 +149,7 @@ async def test_set_humidity(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_smart_dry_plus"], ["cs_vmxuxszzjwp5smli"],
) )
async def test_turn_on_unsupported( async def test_turn_on_unsupported(
hass: HomeAssistant, hass: HomeAssistant,
@@ -179,7 +179,7 @@ async def test_turn_on_unsupported(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_smart_dry_plus"], ["cs_vmxuxszzjwp5smli"],
) )
async def test_turn_off_unsupported( async def test_turn_off_unsupported(
hass: HomeAssistant, hass: HomeAssistant,
@@ -209,7 +209,7 @@ async def test_turn_off_unsupported(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cs_smart_dry_plus"], ["cs_vmxuxszzjwp5smli"],
) )
async def test_set_humidity_unsupported( async def test_set_humidity_unsupported(
hass: HomeAssistant, hass: HomeAssistant,

View File

@@ -15,7 +15,7 @@ from . import initialize_entry
from tests.common import MockConfigEntry from tests.common import MockConfigEntry
@pytest.mark.parametrize("mock_device_code", ["ydkt_dolceclima_unsupported"]) @pytest.mark.parametrize("mock_device_code", ["ydkt_jevroj5aguwdbs2e"])
async def test_unsupported_device( async def test_unsupported_device(
hass: HomeAssistant, hass: HomeAssistant,
mock_manager: ManagerCompat, mock_manager: ManagerCompat,

View File

@@ -64,7 +64,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["dj_smart_light_bulb"], ["dj_mki13ie507rlry4r"],
) )
async def test_turn_on_white( async def test_turn_on_white(
hass: HomeAssistant, hass: HomeAssistant,
@@ -98,7 +98,7 @@ async def test_turn_on_white(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["dj_smart_light_bulb"], ["dj_mki13ie507rlry4r"],
) )
async def test_turn_off( async def test_turn_off(
hass: HomeAssistant, hass: HomeAssistant,

View File

@@ -59,7 +59,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["mal_alarm_host"], ["mal_gyitctrjj1kefxp2"],
) )
async def test_set_value( async def test_set_value(
hass: HomeAssistant, hass: HomeAssistant,
@@ -89,7 +89,7 @@ async def test_set_value(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["mal_alarm_host"], ["mal_gyitctrjj1kefxp2"],
) )
async def test_set_value_no_function( async def test_set_value_no_function(
hass: HomeAssistant, hass: HomeAssistant,

View File

@@ -62,7 +62,7 @@ async def test_platform_setup_no_discovery(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
async def test_select_option( async def test_select_option(
hass: HomeAssistant, hass: HomeAssistant,
@@ -92,7 +92,7 @@ async def test_select_option(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"mock_device_code", "mock_device_code",
["cl_am43_corded_motor_zigbee_cover"], ["cl_zah67ekd"],
) )
async def test_select_invalid_option( async def test_select_invalid_option(
hass: HomeAssistant, hass: HomeAssistant,