diff --git a/custom_components/tuya_local/devices/ZC34T-03-3A_swing_arm_opener.yaml b/custom_components/tuya_local/devices/ZC34T-03-3A_swing_arm_opener.yaml index 7f75833a5c..b33d925da0 100644 --- a/custom_components/tuya_local/devices/ZC34T-03-3A_swing_arm_opener.yaml +++ b/custom_components/tuya_local/devices/ZC34T-03-3A_swing_arm_opener.yaml @@ -58,7 +58,6 @@ secondary_entities: - dps_val: fine value: false - entity: binary_sensor - name: Fault class: problem dps: - id: 105 diff --git a/custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml b/custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml index 7b0267c319..695e2ca75b 100644 --- a/custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml @@ -122,7 +122,6 @@ secondary_entities: - value: false - entity: binary_sensor class: problem - name: Fault dps: - id: 19 type: bitfield diff --git a/custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml b/custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml index 29ae367398..627524c207 100755 --- a/custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml @@ -162,7 +162,6 @@ secondary_entities: value: true - value: false - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml b/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml index 79b48ab116..e85a91cdcf 100644 --- a/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml @@ -118,7 +118,6 @@ secondary_entities: - value: false - entity: binary_sensor class: problem - name: Fault dps: - id: 19 type: bitfield diff --git a/custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml b/custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml index f919ac4924..b6cb151738 100644 --- a/custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml +++ b/custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml @@ -44,7 +44,6 @@ primary_entity: secondary_entities: - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 15 diff --git a/custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml b/custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml index 0ec1372237..0b12e6ad8b 100644 --- a/custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml +++ b/custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml @@ -121,7 +121,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/arlec_19speed_fan.yaml b/custom_components/tuya_local/devices/arlec_19speed_fan.yaml index 7d12ecb1b5..c88eb2b4cf 100644 --- a/custom_components/tuya_local/devices/arlec_19speed_fan.yaml +++ b/custom_components/tuya_local/devices/arlec_19speed_fan.yaml @@ -44,7 +44,6 @@ secondary_entities: min: 0 max: 24 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/arlec_6speed_fan.yaml b/custom_components/tuya_local/devices/arlec_6speed_fan.yaml index 252b654b91..cde274ab0b 100644 --- a/custom_components/tuya_local/devices/arlec_6speed_fan.yaml +++ b/custom_components/tuya_local/devices/arlec_6speed_fan.yaml @@ -54,7 +54,6 @@ primary_entity: name: fault_code secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/arlec_rf_transmitter.yaml b/custom_components/tuya_local/devices/arlec_rf_transmitter.yaml index 457932b6cf..5bf8992555 100644 --- a/custom_components/tuya_local/devices/arlec_rf_transmitter.yaml +++ b/custom_components/tuya_local/devices/arlec_rf_transmitter.yaml @@ -251,7 +251,6 @@ secondary_entities: value: "No button" hidden: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml b/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml index 59ca95276c..53dd94fd70 100644 --- a/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml +++ b/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml @@ -276,7 +276,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/asip_0622_planter.yaml b/custom_components/tuya_local/devices/asip_0622_planter.yaml index 410bf640a2..6217c52060 100644 --- a/custom_components/tuya_local/devices/asip_0622_planter.yaml +++ b/custom_components/tuya_local/devices/asip_0622_planter.yaml @@ -51,7 +51,6 @@ secondary_entities: name: limits # format: min,max - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/aubess_rainpoint_irrigation_system.yaml b/custom_components/tuya_local/devices/aubess_rainpoint_irrigation_system.yaml index a03d5ac8ad..a3ad9b348e 100644 --- a/custom_components/tuya_local/devices/aubess_rainpoint_irrigation_system.yaml +++ b/custom_components/tuya_local/devices/aubess_rainpoint_irrigation_system.yaml @@ -92,7 +92,6 @@ secondary_entities: mapping: - scale: 0.04 - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/avatto_me81_thermostat.yaml b/custom_components/tuya_local/devices/avatto_me81_thermostat.yaml index a2f2de0bff..19a6d4100c 100644 --- a/custom_components/tuya_local/devices/avatto_me81_thermostat.yaml +++ b/custom_components/tuya_local/devices/avatto_me81_thermostat.yaml @@ -152,7 +152,6 @@ secondary_entities: value: Internal hidden: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml b/custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml index 826e6f0fae..26700c2778 100644 --- a/custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml +++ b/custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml @@ -89,7 +89,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault alarm category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml b/custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml index 45aab5928a..ef2dc5044f 100644 --- a/custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml +++ b/custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml @@ -110,7 +110,6 @@ secondary_entities: min: 1 max: 9 - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml b/custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml index 726da1409d..1457d1e651 100644 --- a/custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml +++ b/custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml @@ -81,7 +81,6 @@ secondary_entities: type: boolean name: lock - entity: binary_sensor - name: Fault category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml b/custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml index eb3daae4ec..99cc57822a 100644 --- a/custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml +++ b/custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml @@ -114,7 +114,6 @@ secondary_entities: icon: "mdi:thermometer" value: Both - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/beok_tol47_thermostat.yaml b/custom_components/tuya_local/devices/beok_tol47_thermostat.yaml index 4b72dbec1e..b7a031b501 100644 --- a/custom_components/tuya_local/devices/beok_tol47_thermostat.yaml +++ b/custom_components/tuya_local/devices/beok_tol47_thermostat.yaml @@ -79,7 +79,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault alarm category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml b/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml index 2c1f63685c..c601f49260 100644 --- a/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml +++ b/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml @@ -216,7 +216,6 @@ secondary_entities: type: boolean name: lock - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml b/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml index cae1151838..d39f14759b 100644 --- a/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml +++ b/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml @@ -55,9 +55,6 @@ primary_entity: name: min_temperature mapping: - scale: 10 - - id: 45 - type: integer - name: Error Code - id: 101 type: integer name: unknown_101 @@ -120,7 +117,6 @@ secondary_entities: type: boolean name: lock - entity: binary_sensor - name: Error category: diagnostic class: problem dps: @@ -131,6 +127,9 @@ secondary_entities: - dps_val: 0 value: false - value: true + - id: 45 + type: bitfield + name: fault_code - entity: number name: High temperature limit category: config diff --git a/custom_components/tuya_local/devices/ble_water_valve.yaml b/custom_components/tuya_local/devices/ble_water_valve.yaml index 72502406e5..cfff8d5fac 100644 --- a/custom_components/tuya_local/devices/ble_water_valve.yaml +++ b/custom_components/tuya_local/devices/ble_water_valve.yaml @@ -37,17 +37,7 @@ secondary_entities: type: integer name: sensor unit: "%" - - entity: sensor - name: Fault code - category: diagnostic - icon: "mdi:alert" - dps: - - id: 4 - type: integer - name: sensor - optional: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: @@ -61,6 +51,9 @@ secondary_entities: - dps_val: null value: false - value: true + - id: 4 + type: bitfield + name: fault_code - entity: sensor name: Operation category: diagnostic diff --git a/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml b/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml index cb73be9746..b6d312ff0d 100644 --- a/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml +++ b/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml @@ -115,7 +115,6 @@ secondary_entities: - dps_val: "24" value: "24 hours" - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml b/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml index f69c9f5e53..d2a172686a 100644 --- a/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml +++ b/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml @@ -97,7 +97,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml b/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml index a14c96c2d8..20078776e5 100644 --- a/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml @@ -171,7 +171,6 @@ secondary_entities: name: sensor - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 11 diff --git a/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml b/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml index 2ecfb5b4f7..7c94e98241 100644 --- a/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml +++ b/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml @@ -100,7 +100,6 @@ secondary_entities: value: 9 hours - entity: binary_sensor translation_key: tank_empty - class: problem category: diagnostic dps: - id: 22 diff --git a/custom_components/tuya_local/devices/carson_cb.yaml b/custom_components/tuya_local/devices/carson_cb.yaml index c35e599439..a822e71109 100644 --- a/custom_components/tuya_local/devices/carson_cb.yaml +++ b/custom_components/tuya_local/devices/carson_cb.yaml @@ -127,7 +127,6 @@ secondary_entities: unit: min class: measurement - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/cleverio_ad100_dehumidifier.yaml b/custom_components/tuya_local/devices/cleverio_ad100_dehumidifier.yaml index 75b31c3ef3..a2bf18ab74 100644 --- a/custom_components/tuya_local/devices/cleverio_ad100_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/cleverio_ad100_dehumidifier.yaml @@ -23,7 +23,6 @@ primary_entity: name: fault_code secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/daewoo_dhome_heatpump.yaml b/custom_components/tuya_local/devices/daewoo_dhome_heatpump.yaml index c48edae3a2..c4fd081a90 100644 --- a/custom_components/tuya_local/devices/daewoo_dhome_heatpump.yaml +++ b/custom_components/tuya_local/devices/daewoo_dhome_heatpump.yaml @@ -57,7 +57,6 @@ primary_entity: value: comfort secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/daizuki_heatpump.yaml b/custom_components/tuya_local/devices/daizuki_heatpump.yaml index 2d5365d3bb..c6db302510 100644 --- a/custom_components/tuya_local/devices/daizuki_heatpump.yaml +++ b/custom_components/tuya_local/devices/daizuki_heatpump.yaml @@ -241,7 +241,6 @@ secondary_entities: mapping: - mask: "0010" - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/della_airconditioner.yaml b/custom_components/tuya_local/devices/della_airconditioner.yaml index 50705acf93..af2fa6f8de 100644 --- a/custom_components/tuya_local/devices/della_airconditioner.yaml +++ b/custom_components/tuya_local/devices/della_airconditioner.yaml @@ -153,7 +153,6 @@ secondary_entities: name: switch type: boolean - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml b/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml index 23c40e72f4..513c4faf46 100644 --- a/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml +++ b/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml @@ -97,7 +97,6 @@ secondary_entities: - dps_val: "3" value: "Nightlight" - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/djive_arc_fan.yaml b/custom_components/tuya_local/devices/djive_arc_fan.yaml index 3715990782..8f80ef4add 100644 --- a/custom_components/tuya_local/devices/djive_arc_fan.yaml +++ b/custom_components/tuya_local/devices/djive_arc_fan.yaml @@ -56,7 +56,6 @@ secondary_entities: - dps_val: auto value: auto - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/dry_pury_evo_dehumidifier.yaml b/custom_components/tuya_local/devices/dry_pury_evo_dehumidifier.yaml index 600e80ba09..28499c3bfa 100644 --- a/custom_components/tuya_local/devices/dry_pury_evo_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/dry_pury_evo_dehumidifier.yaml @@ -95,7 +95,6 @@ secondary_entities: - value: false - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 19 diff --git a/custom_components/tuya_local/devices/dts238_7_energy_meter.yaml b/custom_components/tuya_local/devices/dts238_7_energy_meter.yaml index ef28e3bac5..580376940e 100644 --- a/custom_components/tuya_local/devices/dts238_7_energy_meter.yaml +++ b/custom_components/tuya_local/devices/dts238_7_energy_meter.yaml @@ -54,7 +54,6 @@ secondary_entities: mapping: - scale: 10000 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/dual_power_monitor_smartplugv2.yaml b/custom_components/tuya_local/devices/dual_power_monitor_smartplugv2.yaml index 60f7a5f655..44bda78ac3 100644 --- a/custom_components/tuya_local/devices/dual_power_monitor_smartplugv2.yaml +++ b/custom_components/tuya_local/devices/dual_power_monitor_smartplugv2.yaml @@ -114,7 +114,6 @@ secondary_entities: name: calibration optional: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml b/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml index 59dafc7e11..f521902724 100644 --- a/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml +++ b/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml @@ -109,7 +109,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/ecopoint_ev_charger.yaml b/custom_components/tuya_local/devices/ecopoint_ev_charger.yaml index 7311ceea3e..904d384a79 100644 --- a/custom_components/tuya_local/devices/ecopoint_ev_charger.yaml +++ b/custom_components/tuya_local/devices/ecopoint_ev_charger.yaml @@ -85,7 +85,6 @@ secondary_entities: mapping: - scale: 1000 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml b/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml index d7bf9d5dae..2bdd183bc3 100644 --- a/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml @@ -78,7 +78,6 @@ secondary_entities: value: true - value: false - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/electric_panel_heater.yaml b/custom_components/tuya_local/devices/electric_panel_heater.yaml index e922ec8847..23a599dacd 100644 --- a/custom_components/tuya_local/devices/electric_panel_heater.yaml +++ b/custom_components/tuya_local/devices/electric_panel_heater.yaml @@ -133,7 +133,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/em3378_weather_station.yaml b/custom_components/tuya_local/devices/em3378_weather_station.yaml index 9a61643856..4ee3b58131 100644 --- a/custom_components/tuya_local/devices/em3378_weather_station.yaml +++ b/custom_components/tuya_local/devices/em3378_weather_station.yaml @@ -176,7 +176,6 @@ secondary_entities: - dps_val: true value: fahrenheit - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/ems_waterheater.yaml b/custom_components/tuya_local/devices/ems_waterheater.yaml index e9196087a9..7ea87acc29 100644 --- a/custom_components/tuya_local/devices/ems_waterheater.yaml +++ b/custom_components/tuya_local/devices/ems_waterheater.yaml @@ -44,7 +44,6 @@ secondary_entities: unit: C class: measurement - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/emylo_energy_meter.yaml b/custom_components/tuya_local/devices/emylo_energy_meter.yaml index db7a28bcf2..d3a6e7c62b 100644 --- a/custom_components/tuya_local/devices/emylo_energy_meter.yaml +++ b/custom_components/tuya_local/devices/emylo_energy_meter.yaml @@ -27,7 +27,6 @@ primary_entity: optional: true secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml b/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml index 6c7788458e..0a8bd650ba 100644 --- a/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml +++ b/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml @@ -105,7 +105,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/etop_ht_thermostat.yaml b/custom_components/tuya_local/devices/etop_ht_thermostat.yaml index b560f96a71..41b1eae312 100644 --- a/custom_components/tuya_local/devices/etop_ht_thermostat.yaml +++ b/custom_components/tuya_local/devices/etop_ht_thermostat.yaml @@ -146,7 +146,6 @@ secondary_entities: - scale: 10 step: 5 - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/eurom_600_heater.yaml b/custom_components/tuya_local/devices/eurom_600_heater.yaml index 9dadbe119d..46212f60d9 100644 --- a/custom_components/tuya_local/devices/eurom_600_heater.yaml +++ b/custom_components/tuya_local/devices/eurom_600_heater.yaml @@ -30,7 +30,6 @@ primary_entity: name: error secondary_entities: - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/eurom_600_heater_v2.yaml b/custom_components/tuya_local/devices/eurom_600_heater_v2.yaml index 2ba173f7a9..1c17091bcd 100644 --- a/custom_components/tuya_local/devices/eurom_600_heater_v2.yaml +++ b/custom_components/tuya_local/devices/eurom_600_heater_v2.yaml @@ -29,7 +29,6 @@ primary_entity: name: error secondary_entities: - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/eurom_601_heater.yaml b/custom_components/tuya_local/devices/eurom_601_heater.yaml index 5fe35fd6d9..17c79ed39a 100644 --- a/custom_components/tuya_local/devices/eurom_601_heater.yaml +++ b/custom_components/tuya_local/devices/eurom_601_heater.yaml @@ -34,7 +34,6 @@ primary_entity: name: error secondary_entities: - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/eurom_alutherm_heater.yaml b/custom_components/tuya_local/devices/eurom_alutherm_heater.yaml index f38d917840..c467ae9cc0 100644 --- a/custom_components/tuya_local/devices/eurom_alutherm_heater.yaml +++ b/custom_components/tuya_local/devices/eurom_alutherm_heater.yaml @@ -60,7 +60,6 @@ primary_entity: value: eco secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/eurom_alutherm_heater_v2.yaml b/custom_components/tuya_local/devices/eurom_alutherm_heater_v2.yaml index ec5d74df2c..d677059a0e 100644 --- a/custom_components/tuya_local/devices/eurom_alutherm_heater_v2.yaml +++ b/custom_components/tuya_local/devices/eurom_alutherm_heater_v2.yaml @@ -58,7 +58,6 @@ primary_entity: type: bitfield secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml b/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml index 24b5fe6529..7b32d76a42 100644 --- a/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml +++ b/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml @@ -150,7 +150,6 @@ secondary_entities: - dps_val: f value: fahrenheit - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/evsun_evcharger.yaml b/custom_components/tuya_local/devices/evsun_evcharger.yaml index 967ae5bed7..3ec78ee6f8 100644 --- a/custom_components/tuya_local/devices/evsun_evcharger.yaml +++ b/custom_components/tuya_local/devices/evsun_evcharger.yaml @@ -135,7 +135,6 @@ secondary_entities: mapping: - scale: 1000 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/ferroli_titano_twin.yaml b/custom_components/tuya_local/devices/ferroli_titano_twin.yaml index df4fe1077c..d4eefe930a 100644 --- a/custom_components/tuya_local/devices/ferroli_titano_twin.yaml +++ b/custom_components/tuya_local/devices/ferroli_titano_twin.yaml @@ -62,7 +62,6 @@ secondary_entities: icon: "mdi:shield-remove-outline" - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 101 diff --git a/custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml b/custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml index a58b72a707..5f363cc775 100644 --- a/custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml +++ b/custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml @@ -102,7 +102,6 @@ primary_entity: type: string secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/garza_irrigation_system.yaml b/custom_components/tuya_local/devices/garza_irrigation_system.yaml index 54958b1528..ab78697169 100644 --- a/custom_components/tuya_local/devices/garza_irrigation_system.yaml +++ b/custom_components/tuya_local/devices/garza_irrigation_system.yaml @@ -68,7 +68,6 @@ secondary_entities: - dps_val: 2 value: "Auto" - entity: binary_sensor - name: Alarm category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/geyserwise_water_heater.yaml b/custom_components/tuya_local/devices/geyserwise_water_heater.yaml index c00493fd6d..fab7ce6e33 100644 --- a/custom_components/tuya_local/devices/geyserwise_water_heater.yaml +++ b/custom_components/tuya_local/devices/geyserwise_water_heater.yaml @@ -67,7 +67,6 @@ secondary_entities: - dps_val: "On" value: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/goldair_geco_heater.yaml b/custom_components/tuya_local/devices/goldair_geco_heater.yaml index f3f5eded9c..332c535884 100644 --- a/custom_components/tuya_local/devices/goldair_geco_heater.yaml +++ b/custom_components/tuya_local/devices/goldair_geco_heater.yaml @@ -51,7 +51,6 @@ secondary_entities: min: 0 max: 24 - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/goldair_gpcv_heater.yaml b/custom_components/tuya_local/devices/goldair_gpcv_heater.yaml index 64a5a85128..2b936290ef 100644 --- a/custom_components/tuya_local/devices/goldair_gpcv_heater.yaml +++ b/custom_components/tuya_local/devices/goldair_gpcv_heater.yaml @@ -59,7 +59,6 @@ secondary_entities: min: 0 max: 24 - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml b/custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml index fb59c25f9e..8fb5dd2d47 100644 --- a/custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml @@ -133,7 +133,6 @@ secondary_entities: value: true - value: false - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/goldair_gpph_heater.yaml b/custom_components/tuya_local/devices/goldair_gpph_heater.yaml index c5ef431476..045242f4a7 100644 --- a/custom_components/tuya_local/devices/goldair_gpph_heater.yaml +++ b/custom_components/tuya_local/devices/goldair_gpph_heater.yaml @@ -182,7 +182,6 @@ secondary_entities: - dps_val: "5" value: 100 - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/gratkit_filament_dryer.yaml b/custom_components/tuya_local/devices/gratkit_filament_dryer.yaml index c8d08216f1..1e0be4b7fd 100644 --- a/custom_components/tuya_local/devices/gratkit_filament_dryer.yaml +++ b/custom_components/tuya_local/devices/gratkit_filament_dryer.yaml @@ -154,15 +154,15 @@ secondary_entities: - dps_val: 4 value: "Fan RPM too low" - dps_val: 5 - value: 5 + value: "5" - dps_val: 6 - value: 6 + value: "6" - dps_val: 7 - value: 7 + value: "7" - dps_val: 8 - value: 8 + value: "8" - dps_val: 9 - value: 9 + value: "9" - entity: sensor name: Fan speed category: diagnostic diff --git a/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml b/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml index d6a5c7a48d..e090285f11 100644 --- a/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml +++ b/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml @@ -104,7 +104,6 @@ secondary_entities: - dps_val: false value: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml b/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml index d24f8ddf49..1b52f49dd0 100644 --- a/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml +++ b/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml @@ -86,7 +86,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/hjz_radiator.yaml b/custom_components/tuya_local/devices/hjz_radiator.yaml index f5bb0b5127..d3c20a19de 100644 --- a/custom_components/tuya_local/devices/hjz_radiator.yaml +++ b/custom_components/tuya_local/devices/hjz_radiator.yaml @@ -71,7 +71,6 @@ secondary_entities: value: "6 hour" - entity: binary_sensor category: diagnostic - name: Fault class: problem dps: - id: 21 diff --git a/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml b/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml index f8a1f50ca8..9031308f6e 100644 --- a/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml +++ b/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml @@ -41,7 +41,6 @@ primary_entity: secondary_entities: - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 21 diff --git a/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml b/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml index 1b12fcdcd6..7770823302 100644 --- a/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml +++ b/custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml @@ -55,7 +55,6 @@ primary_entity: name: dip_switch_2 secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml b/custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml index f477f64760..9b7429c917 100644 --- a/custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml +++ b/custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml @@ -117,7 +117,6 @@ secondary_entities: type: string name: lock_type - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml b/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml index f72143dcbe..671cafa074 100644 --- a/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml +++ b/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml @@ -367,7 +367,6 @@ secondary_entities: - dps_val: true value: fahrenheit - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/idea_heatingbelt_airconditioner.yaml b/custom_components/tuya_local/devices/idea_heatingbelt_airconditioner.yaml index a66f27179a..bf4a52dadd 100644 --- a/custom_components/tuya_local/devices/idea_heatingbelt_airconditioner.yaml +++ b/custom_components/tuya_local/devices/idea_heatingbelt_airconditioner.yaml @@ -121,7 +121,6 @@ secondary_entities: name: switch optional: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml index a6b98bb537..537b45e415 100644 --- a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml +++ b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml @@ -66,7 +66,6 @@ secondary_entities: type: boolean name: sensor - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml index 7a60999bff..faf53f06bf 100644 --- a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml +++ b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml @@ -71,7 +71,6 @@ secondary_entities: type: boolean name: sensor - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml b/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml index 0560c196b9..63dd1c705f 100644 --- a/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml +++ b/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml @@ -57,7 +57,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_ihc200_humiditycontroller.yaml b/custom_components/tuya_local/devices/inkbird_ihc200_humiditycontroller.yaml index eab5df4c80..c7f18505ef 100644 --- a/custom_components/tuya_local/devices/inkbird_ihc200_humiditycontroller.yaml +++ b/custom_components/tuya_local/devices/inkbird_ihc200_humiditycontroller.yaml @@ -23,7 +23,6 @@ primary_entity: - scale: 10 secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml b/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml index 29a4d4417a..826debe1ab 100644 --- a/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml +++ b/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml @@ -237,7 +237,6 @@ secondary_entities: type: boolean name: sensor - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml b/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml index 64964534ec..75b5e3782d 100644 --- a/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml +++ b/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml @@ -196,7 +196,6 @@ secondary_entities: type: boolean name: sensor - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml b/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml index 268605d748..db38dd2262 100644 --- a/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml +++ b/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml @@ -76,7 +76,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml b/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml index c003db6457..49aea57f39 100644 --- a/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml @@ -220,7 +220,6 @@ secondary_entities: - value: false - entity: binary_sensor class: problem - name: Error category: diagnostic # Several errors are bundled here since they are actual faults and the # recommended action is turn off for 10 minutes for all and get it serviced diff --git a/custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml b/custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml index 8544246347..434e524aac 100644 --- a/custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml @@ -104,7 +104,6 @@ secondary_entities: unit: C class: measurement - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml b/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml index 98dc9a9a37..43437ad7e7 100644 --- a/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml +++ b/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml @@ -157,7 +157,6 @@ secondary_entities: - dps_val: f value: fahrenheit - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/its_45hd_heatpump.yaml b/custom_components/tuya_local/devices/its_45hd_heatpump.yaml index bab43ddfa2..75cea80d54 100644 --- a/custom_components/tuya_local/devices/its_45hd_heatpump.yaml +++ b/custom_components/tuya_local/devices/its_45hd_heatpump.yaml @@ -110,7 +110,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml b/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml index 5370f12b03..37ca06f75e 100644 --- a/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml +++ b/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml @@ -108,7 +108,6 @@ secondary_entities: - dps_val: "24h" value: "24 hours" - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/kogan_bidet.yaml b/custom_components/tuya_local/devices/kogan_bidet.yaml index 2a8e1941a3..448292cf89 100644 --- a/custom_components/tuya_local/devices/kogan_bidet.yaml +++ b/custom_components/tuya_local/devices/kogan_bidet.yaml @@ -142,7 +142,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml b/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml index 0168268270..3ba4fb3e99 100644 --- a/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml +++ b/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml @@ -78,7 +78,6 @@ secondary_entities: optional: true name: alternate - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml b/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml index f81825d4a7..44c20274b9 100644 --- a/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml +++ b/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml @@ -101,7 +101,6 @@ secondary_entities: - dps_val: 12h value: "12 hours" - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/ledlux_thermostat.yaml b/custom_components/tuya_local/devices/ledlux_thermostat.yaml index db583e53af..129d234f51 100644 --- a/custom_components/tuya_local/devices/ledlux_thermostat.yaml +++ b/custom_components/tuya_local/devices/ledlux_thermostat.yaml @@ -199,7 +199,6 @@ secondary_entities: - dps_val: 2days value: 5 + 2 day - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/lifubide_x600_purifier.yaml b/custom_components/tuya_local/devices/lifubide_x600_purifier.yaml index 0fb8abcafa..588256db5f 100644 --- a/custom_components/tuya_local/devices/lifubide_x600_purifier.yaml +++ b/custom_components/tuya_local/devices/lifubide_x600_purifier.yaml @@ -46,7 +46,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/loonas_curtain.yaml b/custom_components/tuya_local/devices/loonas_curtain.yaml index 3aa08ef24c..b58dd65267 100644 --- a/custom_components/tuya_local/devices/loonas_curtain.yaml +++ b/custom_components/tuya_local/devices/loonas_curtain.yaml @@ -51,7 +51,6 @@ secondary_entities: - dps_val: forward value: false - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/lyfco_portable_airconditioner.yaml b/custom_components/tuya_local/devices/lyfco_portable_airconditioner.yaml index 84fc5f8887..6195eee171 100644 --- a/custom_components/tuya_local/devices/lyfco_portable_airconditioner.yaml +++ b/custom_components/tuya_local/devices/lyfco_portable_airconditioner.yaml @@ -67,7 +67,6 @@ primary_entity: value: comfort secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/m027_curtain.yaml b/custom_components/tuya_local/devices/m027_curtain.yaml index 3bd8d56dc2..549c14da40 100644 --- a/custom_components/tuya_local/devices/m027_curtain.yaml +++ b/custom_components/tuya_local/devices/m027_curtain.yaml @@ -87,7 +87,6 @@ secondary_entities: type: integer unit: ms - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/m515_curtain_motor.yaml b/custom_components/tuya_local/devices/m515_curtain_motor.yaml index a3c5ad3bc4..b5b9627b36 100644 --- a/custom_components/tuya_local/devices/m515_curtain_motor.yaml +++ b/custom_components/tuya_local/devices/m515_curtain_motor.yaml @@ -51,7 +51,6 @@ secondary_entities: value: false hidden: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml b/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml index d8e6a44f44..3b4582b574 100644 --- a/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml +++ b/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml @@ -99,7 +99,6 @@ secondary_entities: - dps_val: c value: celsius - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/me80_thermostat.yaml b/custom_components/tuya_local/devices/me80_thermostat.yaml index 8856b416de..d7c89df2b4 100644 --- a/custom_components/tuya_local/devices/me80_thermostat.yaml +++ b/custom_components/tuya_local/devices/me80_thermostat.yaml @@ -257,7 +257,6 @@ secondary_entities: - dps_val: both value: Both - entity: binary_sensor - name: Fault category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml b/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml index 2198d8f2cf..f191cd6d17 100644 --- a/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml +++ b/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml @@ -155,7 +155,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/moebot_s_mower.yaml b/custom_components/tuya_local/devices/moebot_s_mower.yaml index b255b7136a..cb2344b7b8 100644 --- a/custom_components/tuya_local/devices/moebot_s_mower.yaml +++ b/custom_components/tuya_local/devices/moebot_s_mower.yaml @@ -154,7 +154,6 @@ secondary_entities: unit: "%" class: measurement - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/moes_temp_humidity.yaml b/custom_components/tuya_local/devices/moes_temp_humidity.yaml index b042b2f538..df8430c3fd 100644 --- a/custom_components/tuya_local/devices/moes_temp_humidity.yaml +++ b/custom_components/tuya_local/devices/moes_temp_humidity.yaml @@ -238,7 +238,6 @@ secondary_entities: mapping: - scale: 10 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/monzana_klimaanlage_air_conditioner.yaml b/custom_components/tuya_local/devices/monzana_klimaanlage_air_conditioner.yaml index 3b6c633721..7fcbe0c665 100644 --- a/custom_components/tuya_local/devices/monzana_klimaanlage_air_conditioner.yaml +++ b/custom_components/tuya_local/devices/monzana_klimaanlage_air_conditioner.yaml @@ -55,7 +55,6 @@ secondary_entities: type: boolean name: lock - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/nedis_mobile_airconditioner.yaml b/custom_components/tuya_local/devices/nedis_mobile_airconditioner.yaml index 56f4f4db99..afb374eda3 100644 --- a/custom_components/tuya_local/devices/nedis_mobile_airconditioner.yaml +++ b/custom_components/tuya_local/devices/nedis_mobile_airconditioner.yaml @@ -68,7 +68,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/nedis_pet_feeder.yaml b/custom_components/tuya_local/devices/nedis_pet_feeder.yaml index e1548c9c5f..501a61d181 100644 --- a/custom_components/tuya_local/devices/nedis_pet_feeder.yaml +++ b/custom_components/tuya_local/devices/nedis_pet_feeder.yaml @@ -70,7 +70,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/neo_ir_climate_controller.yaml b/custom_components/tuya_local/devices/neo_ir_climate_controller.yaml index 78baeb9428..f97d626727 100644 --- a/custom_components/tuya_local/devices/neo_ir_climate_controller.yaml +++ b/custom_components/tuya_local/devices/neo_ir_climate_controller.yaml @@ -81,7 +81,6 @@ primary_entity: name: current_humidity secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/nx_100ap_air_purifier.yaml b/custom_components/tuya_local/devices/nx_100ap_air_purifier.yaml index 5611c17ea1..68f47f4c91 100644 --- a/custom_components/tuya_local/devices/nx_100ap_air_purifier.yaml +++ b/custom_components/tuya_local/devices/nx_100ap_air_purifier.yaml @@ -112,7 +112,6 @@ secondary_entities: type: integer unit: "%" - entity: binary_sensor - name: Fault category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/owon_pct513_thermostat.yaml b/custom_components/tuya_local/devices/owon_pct513_thermostat.yaml index 05a80f7a80..a9f169bc2a 100644 --- a/custom_components/tuya_local/devices/owon_pct513_thermostat.yaml +++ b/custom_components/tuya_local/devices/owon_pct513_thermostat.yaml @@ -173,7 +173,6 @@ secondary_entities: mapping: - step: 5 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/parkside_plgs2012a1_smart_charger.yaml b/custom_components/tuya_local/devices/parkside_plgs2012a1_smart_charger.yaml index 6f0e6ae60b..717fa95810 100644 --- a/custom_components/tuya_local/devices/parkside_plgs2012a1_smart_charger.yaml +++ b/custom_components/tuya_local/devices/parkside_plgs2012a1_smart_charger.yaml @@ -146,7 +146,6 @@ secondary_entities: type: boolean name: sensor - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml b/custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml index 730efecb62..b62e7ae8ba 100644 --- a/custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml +++ b/custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml @@ -61,7 +61,6 @@ secondary_entities: unit: "%" class: measurement - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/pj1103_clamp_meter.yaml b/custom_components/tuya_local/devices/pj1103_clamp_meter.yaml index 3bbddaf375..1835b2a14a 100644 --- a/custom_components/tuya_local/devices/pj1103_clamp_meter.yaml +++ b/custom_components/tuya_local/devices/pj1103_clamp_meter.yaml @@ -109,7 +109,6 @@ secondary_entities: name: calibration optional: true - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/pni_water_feeeder.yaml b/custom_components/tuya_local/devices/pni_water_feeeder.yaml index 781ef09913..99d92e8059 100644 --- a/custom_components/tuya_local/devices/pni_water_feeeder.yaml +++ b/custom_components/tuya_local/devices/pni_water_feeeder.yaml @@ -19,7 +19,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/poolex_arctic_action.yaml b/custom_components/tuya_local/devices/poolex_arctic_action.yaml index 1d2b6f33e3..491b992c7f 100644 --- a/custom_components/tuya_local/devices/poolex_arctic_action.yaml +++ b/custom_components/tuya_local/devices/poolex_arctic_action.yaml @@ -186,7 +186,6 @@ secondary_entities: value: fahrenheit - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 21 diff --git a/custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml b/custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml index 46f4655af2..937de290d6 100644 --- a/custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml +++ b/custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml @@ -551,14 +551,20 @@ secondary_entities: # 20022 - Battery low # 20024 - Emptying dustbin # 20025 - Dustbin empty completed - - entity: sensor - name: Error message + - entity: binary_sensor + class: problem category: diagnostic - icon: "mdi:eye-circle-outline" dps: - id: 199 name: sensor type: integer + mapping: + - dps_val: 0 + value: false + - value: true + - id: 199 + name: fault_code + type: integer # 21003 - Dustbin not installed # 21004 # 21005 - Mopping cloth not installed diff --git a/custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml b/custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml index d6d6be95da..7523498d17 100644 --- a/custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml +++ b/custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml @@ -127,7 +127,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml b/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml index 2ca4b8c15f..dc0ea326ca 100644 --- a/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml @@ -73,7 +73,6 @@ secondary_entities: type: string name: mode - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/qoto_03_sprinkler.yaml b/custom_components/tuya_local/devices/qoto_03_sprinkler.yaml index 6180b3f1eb..16329e32f3 100644 --- a/custom_components/tuya_local/devices/qoto_03_sprinkler.yaml +++ b/custom_components/tuya_local/devices/qoto_03_sprinkler.yaml @@ -43,7 +43,6 @@ secondary_entities: min: 0 max: 86399 - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/qoto_05_water_valve.yaml b/custom_components/tuya_local/devices/qoto_05_water_valve.yaml index a7480d4e9a..ec921c6113 100644 --- a/custom_components/tuya_local/devices/qoto_05_water_valve.yaml +++ b/custom_components/tuya_local/devices/qoto_05_water_valve.yaml @@ -58,7 +58,6 @@ secondary_entities: type: integer unit: "%" - entity: binary_sensor - name: Fault category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml b/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml index 8ac7fcb767..0e7b8c8ec1 100644 --- a/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml +++ b/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml @@ -124,7 +124,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/rotenso_ronix_heatpump.yaml b/custom_components/tuya_local/devices/rotenso_ronix_heatpump.yaml index 6396ecedb2..f716496108 100644 --- a/custom_components/tuya_local/devices/rotenso_ronix_heatpump.yaml +++ b/custom_components/tuya_local/devices/rotenso_ronix_heatpump.yaml @@ -250,7 +250,6 @@ secondary_entities: - scale: 1 mask: "0001" - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/royal_airconditioner.yaml b/custom_components/tuya_local/devices/royal_airconditioner.yaml index 5e8a925626..e85cb881f8 100644 --- a/custom_components/tuya_local/devices/royal_airconditioner.yaml +++ b/custom_components/tuya_local/devices/royal_airconditioner.yaml @@ -120,7 +120,6 @@ secondary_entities: name: switch type: boolean - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml b/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml index 7e366ee163..8981ebd380 100644 --- a/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml +++ b/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml @@ -166,7 +166,6 @@ secondary_entities: type: boolean name: lock - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/sencor_air_conditioner.yaml b/custom_components/tuya_local/devices/sencor_air_conditioner.yaml index 8b4c080e76..4bd2c38d42 100644 --- a/custom_components/tuya_local/devices/sencor_air_conditioner.yaml +++ b/custom_components/tuya_local/devices/sencor_air_conditioner.yaml @@ -63,7 +63,6 @@ primary_entity: type: string secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml b/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml index 87496e11c4..11cbca3e54 100644 --- a/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml +++ b/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml @@ -267,7 +267,6 @@ secondary_entities: icon: "mdi:kettle-alert" value: Reserved3 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml b/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml index ac064a164e..f03db9efd5 100644 --- a/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml @@ -68,7 +68,6 @@ secondary_entities: type: boolean name: lock - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: @@ -85,6 +84,9 @@ secondary_entities: - dps_val: 32 value: true - value: false + - id: 11 + type: bitfield + name: fault_code - entity: binary_sensor translation_key: tank_full category: diagnostic @@ -107,29 +109,6 @@ secondary_entities: - dps_val: 4 value: true - value: false - - entity: sensor - name: Fault code - class: enum - category: diagnostic - dps: - - id: 11 - type: bitfield - name: sensor - mapping: - - dps_val: 0 - value: OK - - dps_val: 1 - value: Temperature sensor fault - - dps_val: 2 - value: Coil sensor fault - - dps_val: 4 - value: Defrosting - - dps_val: 8 - value: Tank full - - dps_val: 16 - value: Low temperature - - dps_val: 32 - value: High temperature - entity: select translation_key: timer category: config diff --git a/custom_components/tuya_local/devices/smartplugv2_energy.yaml b/custom_components/tuya_local/devices/smartplugv2_energy.yaml index 3dea8d53f6..67bf1380d2 100644 --- a/custom_components/tuya_local/devices/smartplugv2_energy.yaml +++ b/custom_components/tuya_local/devices/smartplugv2_energy.yaml @@ -105,7 +105,6 @@ secondary_entities: - entity: binary_sensor class: problem category: diagnostic - name: Error dps: - id: 26 type: bitfield diff --git a/custom_components/tuya_local/devices/smartplugv2_energyv2.yaml b/custom_components/tuya_local/devices/smartplugv2_energyv2.yaml index 1472fa446a..335fce66fe 100644 --- a/custom_components/tuya_local/devices/smartplugv2_energyv2.yaml +++ b/custom_components/tuya_local/devices/smartplugv2_energyv2.yaml @@ -109,7 +109,6 @@ secondary_entities: - entity: binary_sensor class: problem category: diagnostic - name: Error dps: - id: 26 type: bitfield diff --git a/custom_components/tuya_local/devices/smartplugv2_energyv3.yaml b/custom_components/tuya_local/devices/smartplugv2_energyv3.yaml index 727c1e304a..14927ca63a 100644 --- a/custom_components/tuya_local/devices/smartplugv2_energyv3.yaml +++ b/custom_components/tuya_local/devices/smartplugv2_energyv3.yaml @@ -115,7 +115,6 @@ secondary_entities: - entity: binary_sensor class: problem category: diagnostic - name: Error dps: - id: 26 type: bitfield diff --git a/custom_components/tuya_local/devices/smartplugv3.yaml b/custom_components/tuya_local/devices/smartplugv3.yaml index 173032f130..5095aadc08 100644 --- a/custom_components/tuya_local/devices/smartplugv3.yaml +++ b/custom_components/tuya_local/devices/smartplugv3.yaml @@ -82,7 +82,6 @@ secondary_entities: - entity: binary_sensor class: problem category: diagnostic - name: Error dps: - id: 26 type: bitfield diff --git a/custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml b/custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml index 42761add5c..1ef62ce343 100644 --- a/custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml +++ b/custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml @@ -42,7 +42,6 @@ secondary_entities: unit: "%" class: measurement - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/starlight_heatpump.yaml b/custom_components/tuya_local/devices/starlight_heatpump.yaml index f2611bbd38..5eb9393bb8 100644 --- a/custom_components/tuya_local/devices/starlight_heatpump.yaml +++ b/custom_components/tuya_local/devices/starlight_heatpump.yaml @@ -325,7 +325,6 @@ secondary_entities: - scale: 1 mask: "0001" - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/sunbeam_dual_bedwarmer.yaml b/custom_components/tuya_local/devices/sunbeam_dual_bedwarmer.yaml index bf4a153b10..76fdd0fbf9 100644 --- a/custom_components/tuya_local/devices/sunbeam_dual_bedwarmer.yaml +++ b/custom_components/tuya_local/devices/sunbeam_dual_bedwarmer.yaml @@ -67,7 +67,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml b/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml index 2c76dc1e8a..920e140fd7 100644 --- a/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml +++ b/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml @@ -106,7 +106,6 @@ primary_entity: value: Cool+Heat secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml b/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml index bed62f749d..64954989d8 100644 --- a/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml +++ b/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml @@ -369,7 +369,6 @@ secondary_entities: mapping: - step: 10 - entity: binary_sensor - name: Fault category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/taurus_agadir_heater.yaml b/custom_components/tuya_local/devices/taurus_agadir_heater.yaml index 815239dae0..979c5f4eea 100644 --- a/custom_components/tuya_local/devices/taurus_agadir_heater.yaml +++ b/custom_components/tuya_local/devices/taurus_agadir_heater.yaml @@ -128,7 +128,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/taxnele_energy_meter.yaml b/custom_components/tuya_local/devices/taxnele_energy_meter.yaml index 5bb8b66bf3..a9687d6caa 100644 --- a/custom_components/tuya_local/devices/taxnele_energy_meter.yaml +++ b/custom_components/tuya_local/devices/taxnele_energy_meter.yaml @@ -17,7 +17,6 @@ primary_entity: name: fault_code secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/tesla_airconditioner.yaml b/custom_components/tuya_local/devices/tesla_airconditioner.yaml index e6aea90c07..2190423baa 100644 --- a/custom_components/tuya_local/devices/tesla_airconditioner.yaml +++ b/custom_components/tuya_local/devices/tesla_airconditioner.yaml @@ -178,7 +178,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml b/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml index 3a514cb901..def52f1641 100644 --- a/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml +++ b/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml @@ -72,7 +72,6 @@ secondary_entities: min: 0 max: 255 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/tesla_humidifier.yaml b/custom_components/tuya_local/devices/tesla_humidifier.yaml index 3d42be5fce..76ee799c27 100644 --- a/custom_components/tuya_local/devices/tesla_humidifier.yaml +++ b/custom_components/tuya_local/devices/tesla_humidifier.yaml @@ -51,7 +51,6 @@ secondary_entities: unit: min class: measurement - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml b/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml index 5f98179b3f..b9e6706342 100644 --- a/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml @@ -69,7 +69,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml b/custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml index 70192f9b79..bcf73178fd 100644 --- a/custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml +++ b/custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml @@ -42,7 +42,6 @@ primary_entity: secondary_entities: - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 106 diff --git a/custom_components/tuya_local/devices/tonepie_t1pro_catlitterbox.yaml b/custom_components/tuya_local/devices/tonepie_t1pro_catlitterbox.yaml index 37b13a7dbb..7f9fcc3660 100644 --- a/custom_components/tuya_local/devices/tonepie_t1pro_catlitterbox.yaml +++ b/custom_components/tuya_local/devices/tonepie_t1pro_catlitterbox.yaml @@ -46,7 +46,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml b/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml index 68ecc5242b..ece16ab257 100644 --- a/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml +++ b/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml @@ -651,7 +651,6 @@ secondary_entities: mask: 000000000000FF - entity: binary_sensor category: diagnostic - name: Errors class: problem dps: - id: 113 diff --git a/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml b/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml index aa4b1cd969..8072547558 100644 --- a/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml +++ b/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml @@ -203,7 +203,6 @@ secondary_entities: min: -9 max: 9 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/ultenic_air_fryer.yaml b/custom_components/tuya_local/devices/ultenic_air_fryer.yaml index 288999608f..6c4f7e077a 100644 --- a/custom_components/tuya_local/devices/ultenic_air_fryer.yaml +++ b/custom_components/tuya_local/devices/ultenic_air_fryer.yaml @@ -153,7 +153,6 @@ secondary_entities: name: sensor unit: min - entity: binary_sensor - name: Error class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml b/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml index 50a1856fd1..6967275cbe 100644 --- a/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml @@ -48,9 +48,8 @@ secondary_entities: type: integer unit: "°F" class: measurement - - entity: sensor - name: Fault - class: enum + - entity: binary_sensor + class: problem category: diagnostic dps: - id: 101 @@ -58,15 +57,24 @@ secondary_entities: name: sensor mapping: - dps_val: 0 - value: OK + value: false + - dps_val: 1 + value: false + - value: true + - id: 101 + type: bitfield + name: fault_code + - entity: binary_sensor + translation_key: tank_full + category: diagnostic + dps: + - id: 101 + type: bitfield + name: sensor + mapping: - dps_val: 1 - value: Tank Full - icon: "mdi:cup-water" - icon_priority: 2 - - dps_val: 2 - value: Fault - - dps_val: 3 - value: Fault + value: true + - value: false - entity: select translation_key: timer category: config diff --git a/custom_components/tuya_local/devices/vivax_heatpump.yaml b/custom_components/tuya_local/devices/vivax_heatpump.yaml index 6714949a0b..6fca0c25a6 100644 --- a/custom_components/tuya_local/devices/vivax_heatpump.yaml +++ b/custom_components/tuya_local/devices/vivax_heatpump.yaml @@ -278,7 +278,6 @@ secondary_entities: - dps_val: lr_0c value: Swing - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/vivion_airconditioner.yaml b/custom_components/tuya_local/devices/vivion_airconditioner.yaml index 1f298bc6b3..8518865591 100644 --- a/custom_components/tuya_local/devices/vivion_airconditioner.yaml +++ b/custom_components/tuya_local/devices/vivion_airconditioner.yaml @@ -127,7 +127,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml b/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml index 1a76fd36ac..81cf2f48a4 100644 --- a/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml @@ -163,7 +163,6 @@ secondary_entities: - value: false - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 19 diff --git a/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml b/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml index 33d678f24b..2b567d7afe 100644 --- a/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml +++ b/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml @@ -97,7 +97,6 @@ secondary_entities: - dps_val: "severe" value: "Severe" - entity: binary_sensor - name: Error category: diagnostic class: problem dps: diff --git a/custom_components/tuya_local/devices/wdyk_3phase_energymonitor.yaml b/custom_components/tuya_local/devices/wdyk_3phase_energymonitor.yaml index 745dd3ef93..7bfa9e567f 100644 --- a/custom_components/tuya_local/devices/wdyk_3phase_energymonitor.yaml +++ b/custom_components/tuya_local/devices/wdyk_3phase_energymonitor.yaml @@ -38,7 +38,6 @@ secondary_entities: - scale: 60 step: 60 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/weau_pool_heatpump.yaml b/custom_components/tuya_local/devices/weau_pool_heatpump.yaml index f4c4d97379..202315c583 100644 --- a/custom_components/tuya_local/devices/weau_pool_heatpump.yaml +++ b/custom_components/tuya_local/devices/weau_pool_heatpump.yaml @@ -49,7 +49,6 @@ primary_entity: secondary_entities: - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 6 diff --git a/custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml b/custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml index f2a5177d2a..18a37210ec 100644 --- a/custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml +++ b/custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml @@ -74,7 +74,6 @@ primary_entity: secondary_entities: - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 6 diff --git a/custom_components/tuya_local/devices/weau_pool_heatpump_v2.yaml b/custom_components/tuya_local/devices/weau_pool_heatpump_v2.yaml index aded14c1e2..adf7e051eb 100644 --- a/custom_components/tuya_local/devices/weau_pool_heatpump_v2.yaml +++ b/custom_components/tuya_local/devices/weau_pool_heatpump_v2.yaml @@ -108,7 +108,6 @@ primary_entity: secondary_entities: - entity: binary_sensor class: problem - name: Fault category: diagnostic dps: - id: 20 diff --git a/custom_components/tuya_local/devices/weeket_kettle.yaml b/custom_components/tuya_local/devices/weeket_kettle.yaml index 802dd40f11..8c6ce1e81b 100644 --- a/custom_components/tuya_local/devices/weeket_kettle.yaml +++ b/custom_components/tuya_local/devices/weeket_kettle.yaml @@ -118,7 +118,6 @@ secondary_entities: - dps_val: reserve_3 value: Reserved 3 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/woods_cortina_airconditioner.yaml b/custom_components/tuya_local/devices/woods_cortina_airconditioner.yaml index 553b5cea59..c6157218c1 100644 --- a/custom_components/tuya_local/devices/woods_cortina_airconditioner.yaml +++ b/custom_components/tuya_local/devices/woods_cortina_airconditioner.yaml @@ -56,7 +56,6 @@ primary_entity: value: "off" secondary_entities: - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/yagusmart_3pn_energymeter.yaml b/custom_components/tuya_local/devices/yagusmart_3pn_energymeter.yaml index cabf88880e..93bc19d2bd 100644 --- a/custom_components/tuya_local/devices/yagusmart_3pn_energymeter.yaml +++ b/custom_components/tuya_local/devices/yagusmart_3pn_energymeter.yaml @@ -38,7 +38,6 @@ secondary_entities: mapping: - scale: 100 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/yp_petfeeeder.yaml b/custom_components/tuya_local/devices/yp_petfeeeder.yaml index df60163230..520a3a5a3c 100644 --- a/custom_components/tuya_local/devices/yp_petfeeeder.yaml +++ b/custom_components/tuya_local/devices/yp_petfeeeder.yaml @@ -34,7 +34,6 @@ secondary_entities: type: boolean name: button - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/zemismart_curtain.yaml b/custom_components/tuya_local/devices/zemismart_curtain.yaml index e3e069a97c..9ebbe24529 100644 --- a/custom_components/tuya_local/devices/zemismart_curtain.yaml +++ b/custom_components/tuya_local/devices/zemismart_curtain.yaml @@ -48,7 +48,6 @@ secondary_entities: type: boolean name: switch - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/zemismart_roller_shade.yaml b/custom_components/tuya_local/devices/zemismart_roller_shade.yaml index 033e3ba996..ea2f116178 100644 --- a/custom_components/tuya_local/devices/zemismart_roller_shade.yaml +++ b/custom_components/tuya_local/devices/zemismart_roller_shade.yaml @@ -81,7 +81,6 @@ secondary_entities: - dps_val: fully_close value: Fully closed - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/custom_components/tuya_local/devices/zm_wifi_smartmeter.yaml b/custom_components/tuya_local/devices/zm_wifi_smartmeter.yaml index 2fbbaebb4e..63440794bb 100644 --- a/custom_components/tuya_local/devices/zm_wifi_smartmeter.yaml +++ b/custom_components/tuya_local/devices/zm_wifi_smartmeter.yaml @@ -63,7 +63,6 @@ secondary_entities: - mask: "0000000000FFFFFF" scale: 1000 - entity: binary_sensor - name: Fault class: problem category: diagnostic dps: diff --git a/tests/devices/test_beok_tr9b_thermostat.py b/tests/devices/test_beok_tr9b_thermostat.py index c136c46874..b56b024733 100644 --- a/tests/devices/test_beok_tr9b_thermostat.py +++ b/tests/devices/test_beok_tr9b_thermostat.py @@ -83,7 +83,7 @@ def setUp(self): [ { "dps": ERROR_DPS, - "name": "binary_sensor_error", + "name": "binary_sensor_problem", "device_class": BinarySensorDeviceClass.PROBLEM, "testdata": (1, 0), }, @@ -121,7 +121,7 @@ def setUp(self): ) self.mark_secondary( [ - "binary_sensor_error", + "binary_sensor_problem", "binary_sensor_valve", "lock_child_lock", "number_low_temperature_limit", @@ -200,10 +200,16 @@ async def test_set_target_temperature_fails_outside_valid_range(self): await self.subject.async_set_target_temperature(1001) def test_extra_state_attributes(self): - self.dps[ERROR_DPS] = 8 self.dps[UNKNOWN101_DPS] = 101 self.dps[UNKNOWN102_DPS] = 102 self.assertDictEqual( self.subject.extra_state_attributes, - {"Error Code": 8, "unknown_101": 101, "unknown_102": 102}, + {"unknown_101": 101, "unknown_102": 102}, + ) + + def test_multi_bsensor_extra_state_attributes(self): + self.dps[ERROR_DPS] = 8 + self.assertDictEqual( + self.multiBSensor["binary_sensor_problem"].extra_state_attributes, + {"fault_code": 8}, ) diff --git a/tests/devices/test_eurom_600_heater.py b/tests/devices/test_eurom_600_heater.py index 59e4644e04..4e297853ba 100644 --- a/tests/devices/test_eurom_600_heater.py +++ b/tests/devices/test_eurom_600_heater.py @@ -30,11 +30,11 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) - self.mark_secondary(["binary_sensor_error"]) + self.mark_secondary(["binary_sensor_problem"]) def test_supported_features(self): self.assertEqual( diff --git a/tests/devices/test_eurom_600v2_heater.py b/tests/devices/test_eurom_600v2_heater.py index e5a15d98da..3fabe2e502 100644 --- a/tests/devices/test_eurom_600v2_heater.py +++ b/tests/devices/test_eurom_600v2_heater.py @@ -30,11 +30,11 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) - self.mark_secondary(["binary_sensor_error"]) + self.mark_secondary(["binary_sensor_problem"]) def test_supported_features(self): self.assertEqual( diff --git a/tests/devices/test_eurom_601_heater.py b/tests/devices/test_eurom_601_heater.py index 08721b4af5..d1dd839423 100644 --- a/tests/devices/test_eurom_601_heater.py +++ b/tests/devices/test_eurom_601_heater.py @@ -36,11 +36,11 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) - self.mark_secondary(["binary_sensor_error"]) + self.mark_secondary(["binary_sensor_problem"]) def test_supported_features(self): self.assertEqual( diff --git a/tests/devices/test_goldair_geco_heater.py b/tests/devices/test_goldair_geco_heater.py index 092251a94b..0ab33cbe64 100644 --- a/tests/devices/test_goldair_geco_heater.py +++ b/tests/devices/test_goldair_geco_heater.py @@ -45,7 +45,7 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) @@ -53,7 +53,7 @@ def setUp(self): [ "lock_child_lock", "number_timer", - "binary_sensor_error", + "binary_sensor_problem", ] ) diff --git a/tests/devices/test_goldair_gpph_heater.py b/tests/devices/test_goldair_gpph_heater.py index caf394ee59..02bcf5515f 100644 --- a/tests/devices/test_goldair_gpph_heater.py +++ b/tests/devices/test_goldair_gpph_heater.py @@ -70,7 +70,7 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) @@ -80,7 +80,7 @@ def setUp(self): "lock_child_lock", "number_timer", "sensor_power_level", - "binary_sensor_error", + "binary_sensor_problem", ] ) diff --git a/tests/devices/test_hydrotherm_dynamicx8.py b/tests/devices/test_hydrotherm_dynamicx8.py index 287171d628..c9f6057e7e 100644 --- a/tests/devices/test_hydrotherm_dynamicx8.py +++ b/tests/devices/test_hydrotherm_dynamicx8.py @@ -35,11 +35,11 @@ def setUp(self): self.subject = self.entities.get("water_heater") self.setUpBasicBinarySensor( ERROR_DP, - self.entities.get("binary_sensor_fault"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) - self.mark_secondary(["binary_sensor_fault"]) + self.mark_secondary(["binary_sensor_problem"]) def test_supported_features(self): self.assertEqual( diff --git a/tests/devices/test_inkbird_itc308_thermostat.py b/tests/devices/test_inkbird_itc308_thermostat.py index 3dbc1a9e91..618d18c3a6 100644 --- a/tests/devices/test_inkbird_itc308_thermostat.py +++ b/tests/devices/test_inkbird_itc308_thermostat.py @@ -74,7 +74,7 @@ def setUp(self): "device_class": BinarySensorDeviceClass.PROBLEM, }, { - "name": "binary_sensor_error", + "name": "binary_sensor_problem", "dps": ERROR_DPS, "device_class": BinarySensorDeviceClass.PROBLEM, "testdata": (1, 0), @@ -143,7 +143,7 @@ def setUp(self): "binary_sensor_high_temperature", "binary_sensor_low_temperature", "binary_sensor_sensor_fault", - "binary_sensor_error", + "binary_sensor_problem", "number_calibration_offset", "number_compressor_delay", "number_high_temperature_limit", diff --git a/tests/devices/test_inkbird_sousvide.py b/tests/devices/test_inkbird_sousvide.py index 9676acb738..9282e47e6c 100644 --- a/tests/devices/test_inkbird_sousvide.py +++ b/tests/devices/test_inkbird_sousvide.py @@ -73,7 +73,7 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_fault"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) @@ -96,7 +96,7 @@ def setUp(self): "number_cooking_time", "number_recipe", "number_temperature_calibration", - "binary_sensor_fault", + "binary_sensor_problem", "select_temperature_unit", "sensor_remaining_time", ] diff --git a/tests/devices/test_m027_curtain.py b/tests/devices/test_m027_curtain.py index 691b78d20a..33980b121e 100644 --- a/tests/devices/test_m027_curtain.py +++ b/tests/devices/test_m027_curtain.py @@ -56,7 +56,7 @@ def setUp(self): ) self.mark_secondary( [ - "binary_sensor_fault", + "binary_sensor_problem", "select_mode", "sensor_time_remaining", "sensor_travel_time", diff --git a/tests/devices/test_moebot.py b/tests/devices/test_moebot.py index 45f4f390da..1663551d8d 100644 --- a/tests/devices/test_moebot.py +++ b/tests/devices/test_moebot.py @@ -41,7 +41,7 @@ def setUp(self): self.mower = self.entities.get("lawn_mower") self.mark_secondary( [ - "binary_sensor_error", + "binary_sensor_problem", "sensor_problem", "switch_rain_mode", "number_running_time", diff --git a/tests/devices/test_moes_temp_humidity.py b/tests/devices/test_moes_temp_humidity.py index 2c00c7ce04..a065ca4029 100644 --- a/tests/devices/test_moes_temp_humidity.py +++ b/tests/devices/test_moes_temp_humidity.py @@ -126,7 +126,7 @@ def setUp(self): "number_low_temperature_switch_level", "switch_low_temperature_switch", "number_low_temperature_alarm_level", - "binary_sensor_fault", + "binary_sensor_problem", ] ) diff --git a/tests/devices/test_parkside_plgs2012a1_smart_charger.py b/tests/devices/test_parkside_plgs2012a1_smart_charger.py index fc1cc581f6..d5dc51e785 100644 --- a/tests/devices/test_parkside_plgs2012a1_smart_charger.py +++ b/tests/devices/test_parkside_plgs2012a1_smart_charger.py @@ -61,7 +61,7 @@ def setUp(self): "dps": FULLYCHARGED_DPS, }, { - "name": "binary_sensor_fault", + "name": "binary_sensor_problem", "dps": FAULT_DPS, "device_class": BinarySensorDeviceClass.PROBLEM, "testdata": (32, 0), @@ -163,7 +163,7 @@ def setUp(self): "sensor_max_current", "binary_sensor_almost_charged", "binary_sensor_fully_charged", - "binary_sensor_fault", + "binary_sensor_problem", ] ) diff --git a/tests/devices/test_qoto_03_sprinkler.py b/tests/devices/test_qoto_03_sprinkler.py index e04d69711f..b726449f4f 100644 --- a/tests/devices/test_qoto_03_sprinkler.py +++ b/tests/devices/test_qoto_03_sprinkler.py @@ -28,7 +28,7 @@ def setUp(self): self.setUpForConfig("qoto_03_sprinkler.yaml", QOTO_SPRINKLER_PAYLOAD) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) @@ -66,7 +66,7 @@ def setUp(self): ) self.mark_secondary( [ - "binary_sensor_error", + "binary_sensor_problem", "number_timer", "sensor_open", "sensor_timer", diff --git a/tests/devices/test_smartplugv2_energy.py b/tests/devices/test_smartplugv2_energy.py index f95f9c0480..b4337d44b9 100644 --- a/tests/devices/test_smartplugv2_energy.py +++ b/tests/devices/test_smartplugv2_energy.py @@ -66,7 +66,7 @@ def setUp(self): ) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) @@ -120,7 +120,7 @@ def setUp(self): ) self.mark_secondary( [ - "binary_sensor_error", + "binary_sensor_problem", "lock_child_lock", "number_timer", "select_initial_state", diff --git a/tests/devices/test_starlight_heatpump.py b/tests/devices/test_starlight_heatpump.py index 6ac1d3fa63..d6b0618ff4 100644 --- a/tests/devices/test_starlight_heatpump.py +++ b/tests/devices/test_starlight_heatpump.py @@ -31,7 +31,7 @@ def setUp(self): ) self.mark_secondary( [ - "binary_sensor_fault", + "binary_sensor_problem", "binary_sensor_filter", "sensor_humidity", "select_vertical_swing", diff --git a/tests/devices/test_thermex_if50v.py b/tests/devices/test_thermex_if50v.py index 43d50186c8..02afd8aef3 100644 --- a/tests/devices/test_thermex_if50v.py +++ b/tests/devices/test_thermex_if50v.py @@ -34,11 +34,11 @@ def setUp(self): self.subject = self.entities.get("water_heater") self.setUpBasicBinarySensor( ERROR_DP, - self.entities.get("binary_sensor_fault"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) - self.mark_secondary(["binary_sensor_fault"]) + self.mark_secondary(["binary_sensor_problem"]) def test_supported_features(self): self.assertEqual( diff --git a/tests/devices/test_vork_vk6067aw_purifier.py b/tests/devices/test_vork_vk6067aw_purifier.py index a3c7627efb..6c7926d509 100644 --- a/tests/devices/test_vork_vk6067aw_purifier.py +++ b/tests/devices/test_vork_vk6067aw_purifier.py @@ -42,7 +42,7 @@ def setUp(self): self.setUpSwitchable(SWITCH_DPS, self.subject) self.setUpBasicBinarySensor( ERROR_DPS, - self.entities.get("binary_sensor_error"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(1, 0), ) @@ -85,7 +85,7 @@ def setUp(self): ) self.mark_secondary( [ - "binary_sensor_error", + "binary_sensor_problem", "button_filter_reset", "light", "select_timer", diff --git a/tests/devices/test_weau_pool_heatpumpv2.py b/tests/devices/test_weau_pool_heatpumpv2.py index 5257ef24b2..8dd72bb552 100644 --- a/tests/devices/test_weau_pool_heatpumpv2.py +++ b/tests/devices/test_weau_pool_heatpumpv2.py @@ -36,11 +36,11 @@ def setUp(self): ) self.setUpBasicBinarySensor( FAULT_DPS, - self.entities.get("binary_sensor_fault"), + self.entities.get("binary_sensor_problem"), device_class=BinarySensorDeviceClass.PROBLEM, testdata=(4, 0), ) - self.mark_secondary(["binary_sensor_fault"]) + self.mark_secondary(["binary_sensor_problem"]) def test_supported_features(self): self.assertEqual(