mirror of
https://github.com/home-assistant/core.git
synced 2026-09-05 10:05:52 -05:00
Add Tuya test fixtures (#151953)
This commit is contained in:
@@ -24,6 +24,8 @@ DEVICE_MOCKS = [
|
||||
"cl_qqdxfdht", # https://github.com/orgs/home-assistant/discussions/539
|
||||
"cl_zah67ekd", # https://github.com/home-assistant/core/issues/71242
|
||||
"clkg_nhyj64w2", # https://github.com/home-assistant/core/issues/136055
|
||||
"clkg_wltqkykhni0papzj", # https://github.com/home-assistant/core/issues/151635
|
||||
"co2bj_yakol79dibtswovc", # https://github.com/home-assistant/core/issues/151784
|
||||
"co2bj_yrr3eiyiacm31ski", # https://github.com/home-assistant/core/issues/133173
|
||||
"cobj_hcdy5zrq3ikzthws", # https://github.com/orgs/home-assistant/discussions/482
|
||||
"cs_ipmyy4nigpqcnd8q", # https://github.com/home-assistant/core/pull/148726
|
||||
@@ -32,6 +34,7 @@ DEVICE_MOCKS = [
|
||||
"cs_vmxuxszzjwp5smli", # https://github.com/home-assistant/core/issues/119865
|
||||
"cs_zibqa9dutqyaxym2", # https://github.com/home-assistant/core/pull/125098
|
||||
"cwjwq_agwu93lr", # https://github.com/orgs/home-assistant/discussions/79
|
||||
"cwwsq_lxfvx41gqdotrkgi", # https://github.com/orgs/home-assistant/discussions/730
|
||||
"cwwsq_wfkzyy0evslzsmoi", # https://github.com/home-assistant/core/issues/144745
|
||||
"cwysj_akln8rb04cav403q", # https://github.com/home-assistant/core/pull/146599
|
||||
"cwysj_z3rpyvznfcch99aa", # https://github.com/home-assistant/core/pull/146599
|
||||
@@ -41,12 +44,14 @@ DEVICE_MOCKS = [
|
||||
"cz_37mnhia3pojleqfh", # https://github.com/home-assistant/core/issues/146164
|
||||
"cz_39sy2g68gsjwo2xv", # https://github.com/home-assistant/core/issues/141278
|
||||
"cz_6fa7odsufen374x2", # https://github.com/home-assistant/core/issues/150029
|
||||
"cz_79a7z01v3n35kytb", # https://github.com/orgs/home-assistant/discussions/221
|
||||
"cz_9ivirni8wemum6cw", # https://github.com/home-assistant/core/issues/139735
|
||||
"cz_AiHXxAyyn7eAkLQY", # https://github.com/home-assistant/core/issues/150662
|
||||
"cz_CHLZe9HQ6QIXujVN", # https://github.com/home-assistant/core/issues/149233
|
||||
"cz_HBRBzv1UVBVfF6SL", # https://github.com/tuya/tuya-home-assistant/issues/754
|
||||
"cz_anwgf2xugjxpkfxb", # https://github.com/orgs/home-assistant/discussions/539
|
||||
"cz_cuhokdii7ojyw8k2", # https://github.com/home-assistant/core/issues/149704
|
||||
"cz_dhto3y4uachr1wll", # https://github.com/orgs/home-assistant/discussions/169
|
||||
"cz_dntgh2ngvshfxpsz", # https://github.com/home-assistant/core/issues/149704
|
||||
"cz_fencxse0bnut96ig", # https://github.com/home-assistant/core/issues/63978
|
||||
"cz_gbtxrqfy9xcsakyp", # https://github.com/home-assistant/core/issues/141278
|
||||
@@ -149,6 +154,7 @@ DEVICE_MOCKS = [
|
||||
"mcs_8yhypbo7", # https://github.com/orgs/home-assistant/discussions/482
|
||||
"mcs_hx5ztlztij4yxxvg", # https://github.com/home-assistant/core/issues/148347
|
||||
"mcs_qxu3flpqjsc1kqu3", # https://github.com/home-assistant/core/issues/141278
|
||||
"msp_3ddulzljdjjwkhoy", # https://github.com/orgs/home-assistant/discussions/262
|
||||
"mzj_jlapoy5liocmtdvd", # https://github.com/home-assistant/core/issues/150662
|
||||
"mzj_qavcakohisj5adyh", # https://github.com/home-assistant/core/issues/141278
|
||||
"ntq_9mqdhwklpvnnvb7t", # https://github.com/orgs/home-assistant/discussions/517
|
||||
@@ -158,11 +164,13 @@ DEVICE_MOCKS = [
|
||||
"pc_yku9wsimasckdt15", # https://github.com/orgs/home-assistant/discussions/482
|
||||
"pir_3amxzozho9xp4mkh", # https://github.com/home-assistant/core/issues/149704
|
||||
"pir_fcdjzz3s", # https://github.com/home-assistant/core/issues/149704
|
||||
"pir_j5jgnjvdaczeb6dc", # https://github.com/orgs/home-assistant/discussions/582
|
||||
"pir_wqz93nrdomectyoz", # https://github.com/home-assistant/core/issues/149704
|
||||
"qccdz_7bvgooyjhiua1yyq", # https://github.com/home-assistant/core/issues/136207
|
||||
"qn_5ls2jw49hpczwqng", # https://github.com/home-assistant/core/issues/149233
|
||||
"qxj_fsea1lat3vuktbt6", # https://github.com/orgs/home-assistant/discussions/318
|
||||
"qxj_is2indt9nlth6esa", # https://github.com/home-assistant/core/issues/136472
|
||||
"qxj_xbwbniyt6bgws9ia", # https://github.com/orgs/home-assistant/discussions/823
|
||||
"rqbj_4iqe2hsfyd86kwwc", # https://github.com/orgs/home-assistant/discussions/100
|
||||
"sd_i6hyjg3af7doaswm", # https://github.com/orgs/home-assistant/discussions/539
|
||||
"sd_lr33znaodtyarrrz", # https://github.com/home-assistant/core/issues/141278
|
||||
@@ -172,22 +180,27 @@ DEVICE_MOCKS = [
|
||||
"sfkzq_nxquc5lb", # https://github.com/home-assistant/core/issues/150662
|
||||
"sfkzq_o6dagifntoafakst", # https://github.com/home-assistant/core/issues/148116
|
||||
"sfkzq_rzklytdei8i8vo37", # https://github.com/home-assistant/core/issues/146164
|
||||
"sgbj_DYgId0sz6zWlmmYu", # https://github.com/orgs/home-assistant/discussions/583
|
||||
"sgbj_im2eqqhj72suwwko", # https://github.com/home-assistant/core/issues/151082
|
||||
"sgbj_ulv4nnue7gqp0rjk", # https://github.com/home-assistant/core/issues/149704
|
||||
"sj_rzeSU2h9uoklxEwq", # https://github.com/home-assistant/core/issues/150683
|
||||
"sj_tgvtvdoc", # https://github.com/orgs/home-assistant/discussions/482
|
||||
"sp_6bmk1remyscwyx6i", # https://github.com/orgs/home-assistant/discussions/842
|
||||
"sp_drezasavompxpcgm", # https://github.com/home-assistant/core/issues/149704
|
||||
"sp_nzauwyj3mcnjnf35", # https://github.com/home-assistant/core/issues/141278
|
||||
"sp_rjKXWRohlvOTyLBu", # https://github.com/home-assistant/core/issues/149704
|
||||
"sp_rudejjigkywujjvs", # https://github.com/home-assistant/core/issues/146164
|
||||
"sp_sdd5f5f2dl5wydjf", # https://github.com/home-assistant/core/issues/144087
|
||||
"swtz_3rzngbyy", # https://github.com/orgs/home-assistant/discussions/688
|
||||
"szjcy_u5xgcpcngk3pfxb4", # https://github.com/orgs/home-assistant/discussions/934
|
||||
"tdq_1aegphq4yfd50e6b", # https://github.com/home-assistant/core/issues/143209
|
||||
"tdq_9htyiowaf5rtdhrv", # https://github.com/home-assistant/core/issues/143209
|
||||
"tdq_cq1p0nt0a4rixnex", # https://github.com/home-assistant/core/issues/146845
|
||||
"tdq_nockvv2k39vbrxxk", # https://github.com/home-assistant/core/issues/145849
|
||||
"tdq_p6sqiuesvhmhvv4f", # https://github.com/orgs/home-assistant/discussions/430
|
||||
"tdq_pu8uhxhwcp3tgoz7", # https://github.com/home-assistant/core/issues/141278
|
||||
"tdq_uoa3mayicscacseb", # https://github.com/home-assistant/core/issues/128911
|
||||
"tdq_x3o8epevyeo3z3oa", # https://github.com/orgs/home-assistant/discussions/430
|
||||
"tyndj_pyakuuoc", # https://github.com/home-assistant/core/issues/149704
|
||||
"wfcon_b25mh8sxawsgndck", # https://github.com/home-assistant/core/issues/149704
|
||||
"wfcon_lieerjyy6l4ykjor", # https://github.com/home-assistant/core/issues/136055
|
||||
@@ -200,6 +213,7 @@ DEVICE_MOCKS = [
|
||||
"wk_6kijc7nd", # https://github.com/home-assistant/core/issues/136513
|
||||
"wk_aqoouq7x", # https://github.com/home-assistant/core/issues/146263
|
||||
"wk_ccpwojhalfxryigz", # https://github.com/home-assistant/core/issues/145551
|
||||
"wk_cpmgn2cf", # https://github.com/orgs/home-assistant/discussions/684
|
||||
"wk_fi6dne5tu4t1nm6j", # https://github.com/orgs/home-assistant/discussions/243
|
||||
"wk_gc1bxoq2hafxpa35", # https://github.com/home-assistant/core/issues/145551
|
||||
"wk_gogb05wrtredz3bs", # https://github.com/home-assistant/core/issues/136337
|
||||
@@ -218,6 +232,7 @@ DEVICE_MOCKS = [
|
||||
"wsdcg_yqiqbaldtr0i7mru", # https://github.com/home-assistant/core/issues/136223
|
||||
"wxkg_ja5osu5g", # https://github.com/orgs/home-assistant/discussions/482
|
||||
"wxkg_l8yaz4um5b3pwyvf", # https://github.com/home-assistant/core/issues/93975
|
||||
"wxnbq_5l1ht8jygsyr1wn1", # https://github.com/orgs/home-assistant/discussions/685
|
||||
"xdd_shx9mmadyyeaq88t", # https://github.com/home-assistant/core/issues/151141
|
||||
"xnyjcn_pb0tc75khaik8qbg", # https://github.com/home-assistant/core/pull/149237
|
||||
"ydkt_jevroj5aguwdbs2e", # https://github.com/orgs/home-assistant/discussions/288
|
||||
@@ -234,8 +249,10 @@ DEVICE_MOCKS = [
|
||||
"zndb_4ggkyflayu1h1ho9", # https://github.com/home-assistant/core/pull/149317
|
||||
"zndb_v5jlnn5hwyffkhp3", # https://github.com/home-assistant/core/issues/143209
|
||||
"zndb_ze8faryrxr0glqnn", # https://github.com/home-assistant/core/issues/138372
|
||||
"znnbq_0kllybtbzftaee7y", # https://github.com/orgs/home-assistant/discussions/685
|
||||
"znnbq_6b3pbbuqbfabhfiq", # https://github.com/orgs/home-assistant/discussions/707
|
||||
"znrb_db81ge24jctwx8lo", # https://github.com/home-assistant/core/issues/136513
|
||||
"zwjcy_gvygg3m8", # https://github.com/orgs/home-assistant/discussions/949
|
||||
"zwjcy_myd45weu", # https://github.com/orgs/home-assistant/discussions/482
|
||||
]
|
||||
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Roller shutter Living Room",
|
||||
"category": "clkg",
|
||||
"product_id": "wltqkykhni0papzj",
|
||||
"product_name": "Curtain switch",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-08-06T17:12:56+00:00",
|
||||
"create_time": "2025-08-06T17:12:56+00:00",
|
||||
"update_time": "2025-08-06T17:12:56+00:00",
|
||||
"function": {
|
||||
"control": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["open", "stop", "close"]
|
||||
}
|
||||
},
|
||||
"percent_control": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"cur_calibration": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["start", "end"]
|
||||
}
|
||||
},
|
||||
"switch_backlight": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"control_back_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["forward", "back"]
|
||||
}
|
||||
},
|
||||
"tr_timecon": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 5,
|
||||
"max": 180,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"control": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["open", "stop", "close"]
|
||||
}
|
||||
},
|
||||
"percent_control": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"cur_calibration": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["start", "end"]
|
||||
}
|
||||
},
|
||||
"switch_backlight": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"control_back_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["forward", "back"]
|
||||
}
|
||||
},
|
||||
"tr_timecon": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 5,
|
||||
"max": 180,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"control": "stop",
|
||||
"percent_control": 75,
|
||||
"cur_calibration": "start",
|
||||
"switch_backlight": false,
|
||||
"control_back_mode": "back",
|
||||
"tr_timecon": 25
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "PTH-9CW 32",
|
||||
"category": "co2bj",
|
||||
"product_id": "yakol79dibtswovc",
|
||||
"product_name": "PTH-9CW(QC)",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+03:00",
|
||||
"active_time": "2025-09-05T16:29:08+00:00",
|
||||
"create_time": "2025-09-05T16:29:08+00:00",
|
||||
"update_time": "2025-09-05T16:29:08+00:00",
|
||||
"function": {},
|
||||
"status_range": {
|
||||
"co2_value": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "ppm",
|
||||
"min": 0,
|
||||
"max": 5000,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -40,
|
||||
"max": 125,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humidity_value": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"co2_value": 450,
|
||||
"temp_current": 25,
|
||||
"humidity_value": 43
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Cat Feeder",
|
||||
"category": "cwwsq",
|
||||
"product_id": "lxfvx41gqdotrkgi",
|
||||
"product_name": "Wi-Fi Pet Feeder",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+10:00",
|
||||
"active_time": "2025-08-19T23:39:22+00:00",
|
||||
"create_time": "2025-08-19T23:39:22+00:00",
|
||||
"update_time": "2025-08-19T23:39:22+00:00",
|
||||
"function": {
|
||||
"meal_plan": {
|
||||
"type": "Raw",
|
||||
"value": {}
|
||||
},
|
||||
"manual_feed": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 1,
|
||||
"max": 50,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"factory_reset": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"voice_times": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 0,
|
||||
"max": 5,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"light": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"meal_plan": {
|
||||
"type": "Raw",
|
||||
"value": {}
|
||||
},
|
||||
"manual_feed": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 1,
|
||||
"max": 50,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"feed_state": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["standby", "feeding"]
|
||||
}
|
||||
},
|
||||
"factory_reset": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"feed_report": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"voice_times": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 0,
|
||||
"max": 5,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"light": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"meal_plan": "fwceBQF/DgACAX8UAAQB",
|
||||
"manual_feed": 5,
|
||||
"feed_state": "standby",
|
||||
"factory_reset": false,
|
||||
"feed_report": 1,
|
||||
"voice_times": 0,
|
||||
"light": true
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Double Digital Meter",
|
||||
"category": "cz",
|
||||
"product_id": "79a7z01v3n35kytb",
|
||||
"product_name": "Double Digital Meter",
|
||||
"online": false,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-07-05T16:04:41+00:00",
|
||||
"create_time": "2025-07-05T16:04:41+00:00",
|
||||
"update_time": "2025-07-05T16:04:41+00:00",
|
||||
"function": {},
|
||||
"status_range": {},
|
||||
"status": {},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Meter",
|
||||
"category": "cz",
|
||||
"product_id": "dhto3y4uachr1wll",
|
||||
"product_name": "Double Digital Meter",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-07-02T18:53:11+00:00",
|
||||
"create_time": "2025-07-02T18:53:11+00:00",
|
||||
"update_time": "2025-07-02T18:53:11+00:00",
|
||||
"function": {},
|
||||
"status_range": {},
|
||||
"status": {},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Kattenbak",
|
||||
"category": "msp",
|
||||
"product_id": "3ddulzljdjjwkhoy",
|
||||
"product_name": "ZEDAR K1200",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-07-08T18:02:16+00:00",
|
||||
"create_time": "2025-07-08T18:02:16+00:00",
|
||||
"update_time": "2025-07-08T18:02:16+00:00",
|
||||
"function": {
|
||||
"switch": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"auto_clean": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"delay_clean_time": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 0,
|
||||
"max": 600,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"manual_clean": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"light": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"factory_reset": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"status": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["standby", "sleep", "uv"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"switch": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"auto_clean": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"delay_clean_time": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 0,
|
||||
"max": 600,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"cat_weight": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "g",
|
||||
"min": 0,
|
||||
"max": 10000,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"excretion_times_day": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "times",
|
||||
"min": 0,
|
||||
"max": 2,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"excretion_time_day": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 0,
|
||||
"max": 600,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"manual_clean": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"light": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"fault": {
|
||||
"type": "Bitmap",
|
||||
"value": {
|
||||
"label": [
|
||||
"motor_fault",
|
||||
"g_sensor_fault",
|
||||
"full_fault",
|
||||
"box_out",
|
||||
"filter_fault"
|
||||
]
|
||||
}
|
||||
},
|
||||
"factory_reset": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"status": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["standby", "sleep", "uv"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"switch": false,
|
||||
"auto_clean": true,
|
||||
"delay_clean_time": 90,
|
||||
"cat_weight": 0,
|
||||
"excretion_times_day": 1,
|
||||
"excretion_time_day": 35,
|
||||
"manual_clean": false,
|
||||
"light": false,
|
||||
"fault": 0,
|
||||
"factory_reset": false,
|
||||
"status": "standby"
|
||||
},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "QNECT WI-FI PIR SENSOR",
|
||||
"category": "pir",
|
||||
"product_id": "j5jgnjvdaczeb6dc",
|
||||
"product_name": "QNECT WI-FI PIR SENSOR",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+01:00",
|
||||
"active_time": "2024-06-21T07:10:11+00:00",
|
||||
"create_time": "2024-06-21T07:10:11+00:00",
|
||||
"update_time": "2024-06-21T07:10:11+00:00",
|
||||
"function": {},
|
||||
"status_range": {},
|
||||
"status": {},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,265 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "SWS 16600 WiFi SH",
|
||||
"category": "qxj",
|
||||
"product_id": "xbwbniyt6bgws9ia",
|
||||
"product_name": "SWS 16600 WiFi SH",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+01:00",
|
||||
"active_time": "2025-03-17T14:39:27+00:00",
|
||||
"create_time": "2025-03-17T14:39:27+00:00",
|
||||
"update_time": "2025-03-17T14:39:27+00:00",
|
||||
"function": {},
|
||||
"status_range": {
|
||||
"temp_current": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -400,
|
||||
"max": 601,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humidity_value": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 101,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current_external": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -400,
|
||||
"max": 601,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humidity_outdoor": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 101,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current_external_1": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -400,
|
||||
"max": 601,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humidity_outdoor_1": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 101,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current_external_2": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -400,
|
||||
"max": 601,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humidity_outdoor_2": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 101,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current_external_3": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -400,
|
||||
"max": 601,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humidity_outdoor_3": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 101,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"atmospheric_pressture": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 3000,
|
||||
"max": 12001,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"pressure_drop": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "hPa",
|
||||
"min": 0,
|
||||
"max": 16,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"windspeed_avg": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "km/h",
|
||||
"min": 0,
|
||||
"max": 701,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"windspeed_gust": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "km/h",
|
||||
"min": 0,
|
||||
"max": 701,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"rain_24h": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "mm",
|
||||
"min": 0,
|
||||
"max": 1000001,
|
||||
"scale": 3,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"rain_rate": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "mm",
|
||||
"min": 0,
|
||||
"max": 1000001,
|
||||
"scale": 3,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"uv_index": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 0,
|
||||
"max": 181,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"bright_value": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "lux",
|
||||
"min": 0,
|
||||
"max": 238001,
|
||||
"scale": 0,
|
||||
"step": 100
|
||||
}
|
||||
},
|
||||
"dew_point_temp": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -400,
|
||||
"max": 801,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"feellike_temp": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -650,
|
||||
"max": 501,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"heat_index": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": 260,
|
||||
"max": 501,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"windchill_index": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -650,
|
||||
"max": 601,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"temp_current": 245,
|
||||
"humidity_value": 47,
|
||||
"temp_current_external": 207,
|
||||
"humidity_outdoor": 68,
|
||||
"temp_current_external_1": 601,
|
||||
"humidity_outdoor_1": 101,
|
||||
"temp_current_external_2": 601,
|
||||
"humidity_outdoor_2": 101,
|
||||
"temp_current_external_3": 601,
|
||||
"humidity_outdoor_3": 101,
|
||||
"atmospheric_pressture": 10078,
|
||||
"pressure_drop": 0,
|
||||
"windspeed_avg": 0,
|
||||
"windspeed_gust": 0,
|
||||
"rain_24h": 0,
|
||||
"rain_rate": 0,
|
||||
"uv_index": 0,
|
||||
"bright_value": 7480,
|
||||
"dew_point_temp": 145,
|
||||
"feellike_temp": 207,
|
||||
"heat_index": 501,
|
||||
"windchill_index": 205
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Siren",
|
||||
"category": "sgbj",
|
||||
"product_id": "DYgId0sz6zWlmmYu",
|
||||
"product_name": "Siren",
|
||||
"online": false,
|
||||
"sub": false,
|
||||
"time_zone": "+01:00",
|
||||
"active_time": "2025-03-08T20:44:34+00:00",
|
||||
"create_time": "2025-03-08T20:44:34+00:00",
|
||||
"update_time": "2025-03-08T20:44:34+00:00",
|
||||
"function": {
|
||||
"Alarmtype": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
|
||||
}
|
||||
},
|
||||
"AlarmPeriod": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 0,
|
||||
"max": 60,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"AlarmSwitch": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"Alarmtype": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
|
||||
}
|
||||
},
|
||||
"BatteryStatus": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1", "2", "3", "4"]
|
||||
}
|
||||
},
|
||||
"AlarmSwitch": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"AlarmPeriod": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "s",
|
||||
"min": 0,
|
||||
"max": 60,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"BatteryStatus": 4,
|
||||
"Alarmtype": 9,
|
||||
"AlarmPeriod": 10,
|
||||
"AlarmSwitch": false
|
||||
},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Mirilla puerta",
|
||||
"category": "sp",
|
||||
"product_id": "6bmk1remyscwyx6i",
|
||||
"product_name": "Smart DoorBell \uff08WiFi\uff09",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+01:00",
|
||||
"active_time": "2024-03-05T12:13:24+00:00",
|
||||
"create_time": "2024-03-05T12:13:24+00:00",
|
||||
"update_time": "2025-09-06T07:21:05+00:00",
|
||||
"function": {
|
||||
"basic_flip": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"basic_osd": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"sd_format": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"nightvision_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["ir_mode", "color_mode"]
|
||||
}
|
||||
},
|
||||
"wireless_lowpower": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 10,
|
||||
"max": 50,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"wireless_awake": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"pir_switch": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1", "2", "3"]
|
||||
}
|
||||
},
|
||||
"basic_device_volume": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 1,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humanoid_filter": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"basic_anti_flicker": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1", "2"]
|
||||
}
|
||||
},
|
||||
"ipc_work_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"basic_flip": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"basic_osd": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"sd_storge": {
|
||||
"type": "String",
|
||||
"value": {
|
||||
"maxlen": 255
|
||||
}
|
||||
},
|
||||
"sd_status": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 1,
|
||||
"max": 5,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"sd_format": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"movement_detect_pic": {
|
||||
"type": "Raw",
|
||||
"value": {
|
||||
"maxlen": 128
|
||||
}
|
||||
},
|
||||
"sd_format_state": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": -20000,
|
||||
"max": 20000,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"nightvision_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["ir_mode", "color_mode"]
|
||||
}
|
||||
},
|
||||
"wireless_electricity": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"wireless_powermode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1"]
|
||||
}
|
||||
},
|
||||
"wireless_lowpower": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "",
|
||||
"min": 10,
|
||||
"max": 50,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"wireless_awake": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"pir_switch": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1", "2", "3"]
|
||||
}
|
||||
},
|
||||
"doorbell_pic": {
|
||||
"type": "Raw",
|
||||
"value": {
|
||||
"maxlen": 128
|
||||
}
|
||||
},
|
||||
"basic_device_volume": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 1,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"humanoid_filter": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"alarm_message": {
|
||||
"type": "String",
|
||||
"value": {}
|
||||
},
|
||||
"basic_anti_flicker": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1", "2"]
|
||||
}
|
||||
},
|
||||
"ipc_work_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["0", "1"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"basic_flip": false,
|
||||
"basic_osd": true,
|
||||
"sd_storge": "31147664|31043136|104528",
|
||||
"sd_status": 1,
|
||||
"sd_format": true,
|
||||
"movement_detect_pic": "**REDACTED**",
|
||||
"sd_format_state": 0,
|
||||
"nightvision_mode": "color_mode",
|
||||
"wireless_electricity": 100,
|
||||
"wireless_powermode": 1,
|
||||
"wireless_lowpower": 10,
|
||||
"wireless_awake": false,
|
||||
"pir_switch": 3,
|
||||
"doorbell_pic": "",
|
||||
"basic_device_volume": 51,
|
||||
"humanoid_filter": false,
|
||||
"alarm_message": "**REDACTED**",
|
||||
"basic_anti_flicker": 0,
|
||||
"ipc_work_mode": 0
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": false
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "YINMIK Water Quality Tester",
|
||||
"category": "szjcy",
|
||||
"product_id": "u5xgcpcngk3pfxb4",
|
||||
"product_name": "YINMIK Water Quality Tester",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-09-02T06:27:22+00:00",
|
||||
"create_time": "2025-09-02T06:27:22+00:00",
|
||||
"update_time": "2025-09-02T06:27:22+00:00",
|
||||
"function": {},
|
||||
"status_range": {
|
||||
"tds_in": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "ppt",
|
||||
"min": 0,
|
||||
"max": 100000,
|
||||
"scale": 3,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": 0,
|
||||
"max": 800,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"battery_percentage": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"tds_in": 476,
|
||||
"temp_current": 412,
|
||||
"battery_percentage": 0
|
||||
},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Entrance Door",
|
||||
"category": "tdq",
|
||||
"product_id": "p6sqiuesvhmhvv4f",
|
||||
"product_name": "Contact Sensor",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+01:00",
|
||||
"active_time": "2025-03-27T15:14:26+00:00",
|
||||
"create_time": "2025-03-27T15:14:26+00:00",
|
||||
"update_time": "2025-03-27T15:14:26+00:00",
|
||||
"function": {},
|
||||
"status_range": {},
|
||||
"status": {},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Interior Bedroom Sensor",
|
||||
"category": "tdq",
|
||||
"product_id": "x3o8epevyeo3z3oa",
|
||||
"product_name": "T & H Sensor",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-06-28T12:38:48+00:00",
|
||||
"create_time": "2025-06-28T12:38:48+00:00",
|
||||
"update_time": "2025-06-28T12:38:48+00:00",
|
||||
"function": {},
|
||||
"status_range": {},
|
||||
"status": {},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Bathroom radiator",
|
||||
"category": "wk",
|
||||
"product_id": "cpmgn2cf",
|
||||
"product_name": "SmartTRV",
|
||||
"online": true,
|
||||
"sub": true,
|
||||
"time_zone": "+00:00",
|
||||
"active_time": "2025-07-20T12:12:03+00:00",
|
||||
"create_time": "2025-07-20T12:12:03+00:00",
|
||||
"update_time": "2025-07-20T12:12:03+00:00",
|
||||
"function": {
|
||||
"temp_set": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u00b0C",
|
||||
"min": 10,
|
||||
"max": 700,
|
||||
"scale": 1,
|
||||
"step": 5
|
||||
}
|
||||
},
|
||||
"mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["holiday", "auto", "manual", "eco"]
|
||||
}
|
||||
},
|
||||
"child_lock": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"temp_set": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u00b0C",
|
||||
"min": 10,
|
||||
"max": 700,
|
||||
"scale": 1,
|
||||
"step": 5
|
||||
}
|
||||
},
|
||||
"temp_current": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u00b0C",
|
||||
"min": 0,
|
||||
"max": 700,
|
||||
"scale": 1,
|
||||
"step": 5
|
||||
}
|
||||
},
|
||||
"mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["holiday", "auto", "manual", "eco"]
|
||||
}
|
||||
},
|
||||
"child_lock": {
|
||||
"type": "Boolean",
|
||||
"value": {}
|
||||
},
|
||||
"fault": {
|
||||
"type": "Bitmap",
|
||||
"value": {
|
||||
"label": ["1", "2", "3", "4", "5"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"temp_set": 120,
|
||||
"temp_current": 195,
|
||||
"mode": "manual",
|
||||
"child_lock": false,
|
||||
"fault": 0
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Panneaux solaires 2",
|
||||
"category": "wxnbq",
|
||||
"product_id": "5l1ht8jygsyr1wn1",
|
||||
"product_name": "SORIA",
|
||||
"online": false,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-08-12T17:57:40+00:00",
|
||||
"create_time": "2025-08-12T17:57:40+00:00",
|
||||
"update_time": "2025-08-12T17:57:40+00:00",
|
||||
"function": {},
|
||||
"status_range": {},
|
||||
"status": {},
|
||||
"set_up": false,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "Soria",
|
||||
"category": "znnbq",
|
||||
"product_id": "0kllybtbzftaee7y",
|
||||
"product_name": "Soria",
|
||||
"online": true,
|
||||
"sub": false,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-07-12T07:19:59+00:00",
|
||||
"create_time": "2025-07-12T07:19:59+00:00",
|
||||
"update_time": "2025-07-12T07:19:59+00:00",
|
||||
"function": {
|
||||
"work_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["power_off", "inverter_power", "grid_power", "battery_power"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"reverse_energy_total": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "kW\u00b7h",
|
||||
"min": 0,
|
||||
"max": 99999999,
|
||||
"scale": 2,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"power_total": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "kW",
|
||||
"min": 0,
|
||||
"max": 900000,
|
||||
"scale": 3,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"work_mode": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["power_off", "inverter_power", "grid_power", "battery_power"]
|
||||
}
|
||||
},
|
||||
"temp_current": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -40,
|
||||
"max": 150,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"reverse_energy_total": 10821,
|
||||
"power_total": 19060,
|
||||
"work_mode": "power_off",
|
||||
"temp_current": 28
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"endpoint": "https://apigw.tuyaeu.com",
|
||||
"mqtt_connected": true,
|
||||
"disabled_by": null,
|
||||
"disabled_polling": false,
|
||||
"name": "humid pelargonia",
|
||||
"category": "zwjcy",
|
||||
"product_id": "gvygg3m8",
|
||||
"product_name": "SGS01",
|
||||
"online": false,
|
||||
"sub": true,
|
||||
"time_zone": "+02:00",
|
||||
"active_time": "2025-06-08T09:13:18+00:00",
|
||||
"create_time": "2025-06-08T09:13:18+00:00",
|
||||
"update_time": "2025-06-08T09:13:18+00:00",
|
||||
"function": {
|
||||
"temp_unit_convert": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["c", "f"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status_range": {
|
||||
"humidity": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_current": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "\u2103",
|
||||
"min": -200,
|
||||
"max": 1400,
|
||||
"scale": 1,
|
||||
"step": 1
|
||||
}
|
||||
},
|
||||
"temp_unit_convert": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["c", "f"]
|
||||
}
|
||||
},
|
||||
"battery_state": {
|
||||
"type": "Enum",
|
||||
"value": {
|
||||
"range": ["low", "middle", "high"]
|
||||
}
|
||||
},
|
||||
"battery_percentage": {
|
||||
"type": "Integer",
|
||||
"value": {
|
||||
"unit": "%",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"scale": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"humidity": 100,
|
||||
"temp_current": 175,
|
||||
"temp_unit_convert": "c",
|
||||
"battery_state": "middle",
|
||||
"battery_percentage": 37
|
||||
},
|
||||
"set_up": true,
|
||||
"support_local": true
|
||||
}
|
||||
@@ -97,6 +97,54 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[binary_sensor.cat_feeder_feeding-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': None,
|
||||
'entity_id': 'binary_sensor.cat_feeder_feeding',
|
||||
'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': 'Feeding',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'feeding',
|
||||
'unique_id': 'tuya.igkrtodqg14xvfxlqswwcfeed_state',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[binary_sensor.cat_feeder_feeding-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Cat Feeder Feeding',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'binary_sensor.cat_feeder_feeding',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[binary_sensor.dehumidifer_defrost-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -267,3 +267,56 @@
|
||||
'state': 'recording',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[camera.mirilla_puerta-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': 'camera',
|
||||
'entity_category': None,
|
||||
'entity_id': 'camera.mirilla_puerta',
|
||||
'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': <CameraEntityFeature: 2>,
|
||||
'translation_key': None,
|
||||
'unique_id': 'tuya.i6xywcsymer1kmb6ps',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[camera.mirilla_puerta-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'access_token': '1',
|
||||
'brand': 'Tuya',
|
||||
'entity_picture': '/api/camera_proxy/camera.mirilla_puerta?token=1',
|
||||
'friendly_name': 'Mirilla puerta',
|
||||
'model_name': 'Smart DoorBell (WiFi)',
|
||||
'supported_features': <CameraEntityFeature: 2>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'camera.mirilla_puerta',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'idle',
|
||||
})
|
||||
# ---
|
||||
|
||||
@@ -74,6 +74,85 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[climate.bathroom_radiator-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'hvac_modes': list([
|
||||
<HVACMode.OFF: 'off'>,
|
||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||
]),
|
||||
'max_temp': 70.0,
|
||||
'min_temp': 1.0,
|
||||
'preset_modes': list([
|
||||
'holiday',
|
||||
'eco',
|
||||
]),
|
||||
'target_temp_step': 0.5,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'climate',
|
||||
'entity_category': None,
|
||||
'entity_id': 'climate.bathroom_radiator',
|
||||
'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': <ClimateEntityFeature: 17>,
|
||||
'translation_key': None,
|
||||
'unique_id': 'tuya.fc2ngmpckw',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[climate.bathroom_radiator-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'current_temperature': 19.5,
|
||||
'friendly_name': 'Bathroom radiator',
|
||||
'hvac_modes': list([
|
||||
<HVACMode.OFF: 'off'>,
|
||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||
]),
|
||||
'max_temp': 70.0,
|
||||
'min_temp': 1.0,
|
||||
'preset_mode': None,
|
||||
'preset_modes': list([
|
||||
'holiday',
|
||||
'eco',
|
||||
]),
|
||||
'supported_features': <ClimateEntityFeature: 17>,
|
||||
'target_temp_step': 0.5,
|
||||
'temperature': 12.0,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'climate.bathroom_radiator',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'heat_cool',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[climate.boiler_temperature_controller-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -355,6 +355,57 @@
|
||||
'state': 'open',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[cover.roller_shutter_living_room_curtain-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': 'cover',
|
||||
'entity_category': None,
|
||||
'entity_id': 'cover.roller_shutter_living_room_curtain',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <CoverDeviceClass.CURTAIN: 'curtain'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Curtain',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': <CoverEntityFeature: 15>,
|
||||
'translation_key': 'curtain',
|
||||
'unique_id': 'tuya.jzpap0inhkykqtlwgklccontrol',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[cover.roller_shutter_living_room_curtain-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'current_position': 25,
|
||||
'device_class': 'curtain',
|
||||
'friendly_name': 'Roller shutter Living Room Curtain',
|
||||
'supported_features': <CoverEntityFeature: 15>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'cover.roller_shutter_living_room_curtain',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'open',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[cover.tapparelle_studio_curtain-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -1,4 +1,35 @@
|
||||
# serializer version: 1
|
||||
# name: test_device_registry[1nw1rysgyj8th1l5qbnxw]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'1nw1rysgyj8th1l5qbnxw',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'SORIA (unsupported)',
|
||||
'model_id': '5l1ht8jygsyr1wn1',
|
||||
'name': 'Panneaux solaires 2',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[2k8wyjo7iidkohuczc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -278,6 +309,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[4bxfp3kgncpcgx5uycjzs]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'4bxfp3kgncpcgx5uycjzs',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'YINMIK Water Quality Tester (unsupported)',
|
||||
'model_id': 'u5xgcpcngk3pfxb4',
|
||||
'name': 'YINMIK Water Quality Tester',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[4fO1qIzYbcdMUHqAjd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -1022,6 +1084,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[8m3ggyvgycjwz]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'8m3ggyvgycjwz',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'SGS01',
|
||||
'model_id': 'gvygg3m8',
|
||||
'name': 'humid pelargonia',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[97k3pwirjd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -1518,6 +1611,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[ai9swgb6tyinbwbxjxq]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'ai9swgb6tyinbwbxjxq',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'SWS 16600 WiFi SH',
|
||||
'model_id': 'xbwbniyt6bgws9ia',
|
||||
'name': 'SWS 16600 WiFi SH',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[aje5kxgmhhxdihqizc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -1580,6 +1704,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[ao3z3oeyvepe8o3xqdt]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'ao3z3oeyvepe8o3xqdt',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'T & H Sensor (unsupported)',
|
||||
'model_id': 'x3o8epevyeo3z3oa',
|
||||
'name': 'Interior Bedroom Sensor',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[aoyweq8xbx7qfndijd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -1921,6 +2076,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[btyk53n3v10z7a97zc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'btyk53n3v10z7a97zc',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Double Digital Meter (unsupported)',
|
||||
'model_id': '79a7z01v3n35kytb',
|
||||
'name': 'Double Digital Meter',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[buzituffc13pgb1jjd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -2014,6 +2200,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[cd6bezcadvjngj5jrip]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'cd6bezcadvjngj5jrip',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'QNECT WI-FI PIR SENSOR (unsupported)',
|
||||
'model_id': 'j5jgnjvdaczeb6dc',
|
||||
'name': 'QNECT WI-FI PIR SENSOR',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[cijerqyssiwrf7deqzkfs]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -2169,6 +2386,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[cvowstbid97lokayjb2oc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'cvowstbid97lokayjb2oc',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'PTH-9CW(QC)',
|
||||
'model_id': 'yakol79dibtswovc',
|
||||
'name': 'PTH-9CW 32',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[cwwk68dyfsh2eqi4jbqr]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -2386,6 +2634,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[f4vvhmhvseuiqs6pqdt]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'f4vvhmhvseuiqs6pqdt',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Contact Sensor (unsupported)',
|
||||
'model_id': 'p6sqiuesvhmhvv4f',
|
||||
'name': 'Entrance Door',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[fasvixqysw1lxvjprd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -2448,6 +2727,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[fc2ngmpckw]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'fc2ngmpckw',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'SmartTRV',
|
||||
'model_id': 'cpmgn2cf',
|
||||
'name': 'Bathroom radiator',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[fcdadqsiax2gvnt0qld]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -3192,6 +3502,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[i6xywcsymer1kmb6ps]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'i6xywcsymer1kmb6ps',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Smart DoorBell (WiFi)',
|
||||
'model_id': '6bmk1remyscwyx6i',
|
||||
'name': 'Mirilla puerta',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[iaagy4qigcdsw]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -3285,6 +3626,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[igkrtodqg14xvfxlqswwc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'igkrtodqg14xvfxlqswwc',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Wi-Fi Pet Feeder',
|
||||
'model_id': 'lxfvx41gqdotrkgi',
|
||||
'name': 'Cat Feeder',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[ijne16zv8vpqmubnjd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -3688,6 +4060,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[jzpap0inhkykqtlwgklc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'jzpap0inhkykqtlwgklc',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Curtain switch',
|
||||
'model_id': 'wltqkykhni0papzj',
|
||||
'name': 'Roller shutter Living Room',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[kcdngswaxs8hm52bnocfw]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -4091,6 +4494,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[llw1rhcau4y3othdzc]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'llw1rhcau4y3othdzc',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Double Digital Meter (unsupported)',
|
||||
'model_id': 'dhto3y4uachr1wll',
|
||||
'name': 'Meter',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[mgcpxpmovasazerdps]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -5982,6 +6416,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[uYmmlWz6zs0dIgYDjbgs]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'uYmmlWz6zs0dIgYDjbgs',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Siren (unsupported)',
|
||||
'model_id': 'DYgId0sz6zWlmmYu',
|
||||
'name': 'Siren',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[uew54dymycjwz]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -6447,6 +6912,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[y7eeatfzbtbyllk0qbnnz]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'y7eeatfzbtbyllk0qbnnz',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'Soria',
|
||||
'model_id': '0kllybtbzftaee7y',
|
||||
'name': 'Soria',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[yky6kunazmaitupzjd]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
@@ -6509,6 +7005,37 @@
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[yohkwjjdjlzludd3psm]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
'config_entries': <ANY>,
|
||||
'config_entries_subentries': <ANY>,
|
||||
'configuration_url': None,
|
||||
'connections': set({
|
||||
}),
|
||||
'disabled_by': None,
|
||||
'entry_type': None,
|
||||
'hw_version': None,
|
||||
'id': <ANY>,
|
||||
'identifiers': set({
|
||||
tuple(
|
||||
'tuya',
|
||||
'yohkwjjdjlzludd3psm',
|
||||
),
|
||||
}),
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Tuya',
|
||||
'model': 'ZEDAR K1200 (unsupported)',
|
||||
'model_id': '3ddulzljdjjwkhoy',
|
||||
'name': 'Kattenbak',
|
||||
'name_by_user': None,
|
||||
'primary_config_entry': <ANY>,
|
||||
'serial_number': None,
|
||||
'sw_version': None,
|
||||
'via_device_id': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_device_registry[yuanswy6scm]
|
||||
DeviceRegistryEntrySnapshot({
|
||||
'area_id': None,
|
||||
|
||||
@@ -2692,6 +2692,63 @@
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[light.roller_shutter_living_room_backlight-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'supported_color_modes': list([
|
||||
<ColorMode.ONOFF: 'onoff'>,
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'light',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'light.roller_shutter_living_room_backlight',
|
||||
'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': 'Backlight',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'backlight',
|
||||
'unique_id': 'tuya.jzpap0inhkykqtlwgklcswitch_backlight',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[light.roller_shutter_living_room_backlight-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'color_mode': None,
|
||||
'friendly_name': 'Roller shutter Living Room Backlight',
|
||||
'supported_color_modes': list([
|
||||
<ColorMode.ONOFF: 'onoff'>,
|
||||
]),
|
||||
'supported_features': <LightEntityFeature: 0>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'light.roller_shutter_living_room_backlight',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[light.sjiethoes-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -174,6 +174,122 @@
|
||||
'state': '1.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.cat_feeder_feed-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'max': 50.0,
|
||||
'min': 1.0,
|
||||
'mode': <NumberMode.AUTO: 'auto'>,
|
||||
'step': 1.0,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'number',
|
||||
'entity_category': None,
|
||||
'entity_id': 'number.cat_feeder_feed',
|
||||
'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': 'Feed',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'feed',
|
||||
'unique_id': 'tuya.igkrtodqg14xvfxlqswwcmanual_feed',
|
||||
'unit_of_measurement': '',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.cat_feeder_feed-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Cat Feeder Feed',
|
||||
'max': 50.0,
|
||||
'min': 1.0,
|
||||
'mode': <NumberMode.AUTO: 'auto'>,
|
||||
'step': 1.0,
|
||||
'unit_of_measurement': '',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'number.cat_feeder_feed',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '5.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.cat_feeder_voice_times-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'max': 5.0,
|
||||
'min': 0.0,
|
||||
'mode': <NumberMode.AUTO: 'auto'>,
|
||||
'step': 1.0,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'number',
|
||||
'entity_category': None,
|
||||
'entity_id': 'number.cat_feeder_voice_times',
|
||||
'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': 'Voice times',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'voice_times',
|
||||
'unique_id': 'tuya.igkrtodqg14xvfxlqswwcvoice_times',
|
||||
'unit_of_measurement': '',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.cat_feeder_voice_times-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Cat Feeder Voice times',
|
||||
'max': 5.0,
|
||||
'min': 0.0,
|
||||
'mode': <NumberMode.AUTO: 'auto'>,
|
||||
'step': 1.0,
|
||||
'unit_of_measurement': '',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'number.cat_feeder_voice_times',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.cbe_pro_2_battery_backup_reserve-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
@@ -1348,6 +1464,64 @@
|
||||
'state': '-2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.mirilla_puerta_volume-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'max': 100.0,
|
||||
'min': 1.0,
|
||||
'mode': <NumberMode.AUTO: 'auto'>,
|
||||
'step': 1.0,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'number',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'number.mirilla_puerta_volume',
|
||||
'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': 'Volume',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'volume',
|
||||
'unique_id': 'tuya.i6xywcsymer1kmb6psbasic_device_volume',
|
||||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.mirilla_puerta_volume-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mirilla puerta Volume',
|
||||
'max': 100.0,
|
||||
'min': 1.0,
|
||||
'mode': <NumberMode.AUTO: 'auto'>,
|
||||
'step': 1.0,
|
||||
'unit_of_measurement': '%',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'number.mirilla_puerta_volume',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '51.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[number.multifunction_alarm_alarm_delay-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -3136,6 +3136,122 @@
|
||||
'state': 'power_on',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[select.mirilla_puerta_anti_flicker-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'options': list([
|
||||
'0',
|
||||
'1',
|
||||
'2',
|
||||
]),
|
||||
}),
|
||||
'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.mirilla_puerta_anti_flicker',
|
||||
'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': 'Anti-flicker',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'basic_anti_flicker',
|
||||
'unique_id': 'tuya.i6xywcsymer1kmb6psbasic_anti_flicker',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[select.mirilla_puerta_anti_flicker-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mirilla puerta Anti-flicker',
|
||||
'options': list([
|
||||
'0',
|
||||
'1',
|
||||
'2',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.mirilla_puerta_anti_flicker',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[select.mirilla_puerta_ipc_mode-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'options': list([
|
||||
'0',
|
||||
'1',
|
||||
]),
|
||||
}),
|
||||
'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.mirilla_puerta_ipc_mode',
|
||||
'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': 'IPC mode',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'ipc_work_mode',
|
||||
'unique_id': 'tuya.i6xywcsymer1kmb6psipc_work_mode',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[select.mirilla_puerta_ipc_mode-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mirilla puerta IPC mode',
|
||||
'options': list([
|
||||
'0',
|
||||
'1',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'select.mirilla_puerta_ipc_mode',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[select.office_indicator_light_mode-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1022,6 +1022,54 @@
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.bathroom_radiator_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.bathroom_radiator_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': None,
|
||||
'original_name': 'Child lock',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'child_lock',
|
||||
'unique_id': 'tuya.fc2ngmpckwchild_lock',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.bathroom_radiator_child_lock-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Bathroom radiator Child lock',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.bathroom_radiator_child_lock',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.bree_power-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
@@ -5465,6 +5513,102 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.mirilla_puerta_flip-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.mirilla_puerta_flip',
|
||||
'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': 'Flip',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'flip',
|
||||
'unique_id': 'tuya.i6xywcsymer1kmb6psbasic_flip',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.mirilla_puerta_flip-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mirilla puerta Flip',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.mirilla_puerta_flip',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.mirilla_puerta_time_watermark-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.mirilla_puerta_time_watermark',
|
||||
'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': 'Time watermark',
|
||||
'platform': 'tuya',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'time_watermark',
|
||||
'unique_id': 'tuya.i6xywcsymer1kmb6psbasic_osd',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.mirilla_puerta_time_watermark-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mirilla puerta Time watermark',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.mirilla_puerta_time_watermark',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_platform_setup_and_discovery[switch.multifunction_alarm_arm_beep-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
Reference in New Issue
Block a user