From ff57e6433d65737b9c950337c8cefe756c39fdad Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 22 Aug 2024 21:37:26 +0900 Subject: [PATCH] Use translations for select timer options. Issue #1708 --- .../devices/AlecoAir_D25_Traditio.yaml | 50 +++++++++--------- .../devices/DH-CSK03W_dehumidifier.yaml | 20 +++---- .../alecoair_d12_home_dehumidifier.yaml | 51 +++++++++--------- .../devices/alecoair_d14_dehumidifier.yaml | 50 +++++++++--------- .../devices/alecoair_d16_dehumidifier.yaml | 50 +++++++++--------- .../devices/amico_smart_ceiling_fan.yaml | 12 ++--- .../devices/arlec_12speed_tower_fan.yaml | 50 +++++++++--------- .../tuya_local/devices/arlec_6speed_fan.yaml | 14 ++--- .../devices/arlec_apr005ha_air_purifier.yaml | 28 +++++----- .../tuya_local/devices/arlec_fan.yaml | 8 +-- .../tuya_local/devices/arlec_fan_light.yaml | 8 +-- .../devices/arlec_panel_heater_v2.yaml | 20 +++---- .../devices/asc_wifi_circuit_breaker.yaml | 1 - .../devices/atomi_ceramic_heater.yaml | 26 +++++----- .../tuya_local/devices/atorch_s1wp.yaml | 2 +- .../devices/avatto_roller_blinds.yaml | 10 ++-- .../devices/betterlife_bl1500_heater.yaml | 26 +++++----- .../devices/ble_hct611_watertimer.yaml | 9 ++-- .../tuya_local/devices/ble_water_valve.yaml | 9 ++-- .../devices/blitzwolf_bwsh2_humidifier.yaml | 14 ++--- .../devices/blitzwolf_bwsh5_humidifier.yaml | 28 +++++----- .../devices/blumfeldt_cosmicbeam_heater.yaml | 50 +++++++++--------- .../devices/breville_airdynamic3d_fan.yaml | 26 +++++----- .../devices/breville_easyair_purifier.yaml | 8 +-- .../devices/breville_lad208_dehumidifier.yaml | 50 +++++++++--------- ...breville_smart_air_viral_protect_plus.yaml | 8 +-- .../breville_smartairconnect_purifier.yaml | 10 ++-- .../tuya_local/devices/bvf_cp1_heater.yaml | 50 +++++++++--------- .../devices/calex_convector_heater.yaml | 50 +++++++++--------- .../devices/carro_ph805_humidifier.yaml | 20 +++---- .../devices/casafan_ceiling_fan_light.yaml | 14 ++--- .../tuya_local/devices/cecotec_fan_light.yaml | 20 +++---- .../devices/cleanair_604b_humidifier.yaml | 26 +++++----- .../devices/ditua_dt1522yn_aromadiffuser.yaml | 8 +-- .../tuya_local/devices/duux_whisper_fan.yaml | 26 +++++----- .../devices/dynasty_btx_fireplace.yaml | 20 +++---- .../tuya_local/devices/eanons_humidifier.yaml | 28 +++++----- .../devices/ebac_dj4000_dehumidifier.yaml | 18 +++---- .../devices/eeese_anna_dehumidifier.yaml | 50 +++++++++--------- .../devices/eeese_carl_dehumidifier.yaml | 50 +++++++++--------- .../devices/eeese_otto_dehumidifier.yaml | 50 +++++++++--------- .../devices/eesee_adam_dehumidifier.yaml | 50 +++++++++--------- .../devices/electric_panel_heater.yaml | 50 +++++++++--------- .../devices/essentials_purifier.yaml | 8 +-- .../devices/etersky_aroma_diffuser.yaml | 10 ++-- .../devices/fanco_ecosilentdeluxe.yaml | 10 ++-- .../devices/goodcell_ev_charger.yaml | 8 +++ .../devices/greenmigo_alpha_q25_pro_wifi.yaml | 50 +++++++++--------- .../tuya_local/devices/herschel_irheater.yaml | 50 +++++++++--------- .../devices/himox_h05_purifier.yaml | 10 ++-- .../devices/himox_h06_purifier.yaml | 6 +-- .../devices/hiper_bladeless_fan.yaml | 18 +++---- .../tuya_local/devices/hjz_radiator.yaml | 14 ++--- .../devices/holman_wx1_taptimer.yaml | 3 +- .../devices/holman_wx2_taptimer.yaml | 6 ++- .../devices/hyd_weair_plus_fan.yaml | 18 +++---- .../devices/immax_neo_light_vento.yaml | 10 ++-- .../devices/inow_heater_element.yaml | 6 +-- .../devices/inow_heater_element_v2.yaml | 6 +-- .../inventor_atmospherexl_dehumidifier.yaml | 20 +++---- .../devices/juskys_oh125bw2_radiator.yaml | 50 +++++++++--------- .../tuya_local/devices/kennedy_fireplace.yaml | 20 +++---- .../klarstein_skyscraper_ice_smart.yaml | 30 +++++------ .../devices/klarstein_wonderwall_air.yaml | 50 +++++++++--------- .../klarstein_wonderwall_irheater.yaml | 50 +++++++++--------- .../devices/klarta_humea_humidifier.yaml | 26 +++++----- .../devices/klarta_stor2_purifier.yaml | 10 ++-- .../devices/kogan_air_purifier.yaml | 6 +-- .../devices/kogan_bladeless_fan.yaml | 18 +++---- .../kogan_kasthfp2kwa_towerheater.yaml | 28 +++++----- .../devices/lehmann_lhohc2013c_radiator.yaml | 50 +++++++++--------- .../tuya_local/devices/mantra_fan.yaml | 18 +++---- .../devices/maxcio_aromadiffuser.yaml | 8 +-- .../devices/mellerware_comfy_radiator.yaml | 50 +++++++++--------- .../devices/modernflames_orion_fireplace.yaml | 20 +++---- .../devices/moistenland_water_timer.yaml | 11 ++-- .../devices/nac_ap470_purifier.yaml | 10 ++-- .../devices/nashone_mts700wb_thermostat.yaml | 6 +-- .../devices/nedis_ptc_fan_heater.yaml | 14 ++--- .../devices/netmostat_n1_thermostat.yaml | 6 +-- .../devices/nx_100ap_air_purifier.yaml | 18 +++---- .../devices/ovlaim_ceiling_fan_light.yaml | 10 ++-- .../devices/poiema_one_purifier.yaml | 12 ++--- .../tuya_local/devices/probreeze_pb20.yaml | 50 +++++++++--------- .../devices/proscenic_a9_airpurifier.yaml | 10 ++-- .../devices/qh_gd_elegant_heater.yaml | 50 +++++++++--------- .../devices/qlima_d820a_dehumidifier.yaml | 8 +-- .../devices/rainpoint_water_timer.yaml | 3 +- .../devices/reiga_52_fan_light.yaml | 10 ++-- .../royalclima_rcb150_ventilation.yaml | 52 +++++++++---------- .../devices/semptec_zx7007_heater.yaml | 16 +++--- .../devices/sensei_airconditioner.yaml | 50 +++++++++--------- .../devices/shinco_30d_dehumidifier.yaml | 50 +++++++++--------- .../tuya_local/devices/skyfan_dc_fan.yaml | 26 +++++----- .../tuya_local/devices/skyfan_fan_light.yaml | 26 +++++----- .../tuya_local/devices/soho_air_purifier.yaml | 26 +++++----- .../sonninkonig_eco_elegance_heater.yaml | 50 +++++++++--------- .../tuya_local/devices/sop10_sprinkler.yaml | 9 ++-- .../devices/stadlerform_roger_purifier.yaml | 6 +-- .../devices/stirling_fs140dc_fan.yaml | 42 +++++++-------- .../devices/sulion_ceiling_fan.yaml | 10 ++-- .../devices/taurus_agadir_heater.yaml | 50 +++++++++--------- .../devices/tesla_air_purifier_mini.yaml | 10 ++-- .../devices/tesla_air_purifier_pro.yaml | 10 ++-- .../devices/tesla_aroma_diffuser.yaml | 8 +-- .../tuya_local/devices/tesla_humidifier.yaml | 6 +-- .../devices/tesla_s300_purifier.yaml | 26 +++++----- .../devices/tesla_xl_dehumidifier.yaml | 8 +-- .../devices/vacplus_dehumidifier.yaml | 50 +++++++++--------- .../devices/vivosun_de0003_dehumidifier.yaml | 50 +++++++++--------- .../devices/vork_vk6067aw_purifier.yaml | 6 +-- .../devices/wetair_wch750_heater.yaml | 50 +++++++++--------- .../wilfa_haze_hu400bc_humidifier.yaml | 28 +++++----- .../devices/wood_wdd90_dehumidifier.yaml | 18 +++---- .../devices/yym_805SW_aroma_nightlight.yaml | 8 +-- ...zemismart_dpwbs01_sprinklercontroller.yaml | 9 ++-- .../tuya_local/translations/bg.json | 43 ++++++++++++++- .../tuya_local/translations/cz.json | 42 ++++++++++++++- .../tuya_local/translations/de.json | 42 ++++++++++++++- .../tuya_local/translations/el.json | 42 ++++++++++++++- .../tuya_local/translations/en.json | 42 ++++++++++++++- .../tuya_local/translations/es.json | 42 ++++++++++++++- .../tuya_local/translations/fr.json | 42 ++++++++++++++- .../tuya_local/translations/hu.json | 42 ++++++++++++++- .../tuya_local/translations/id.json | 42 ++++++++++++++- .../tuya_local/translations/it.json | 42 ++++++++++++++- .../tuya_local/translations/ja.json | 42 ++++++++++++++- .../tuya_local/translations/no-NB.json | 42 ++++++++++++++- .../tuya_local/translations/pl.json | 42 ++++++++++++++- .../tuya_local/translations/pt-BR.json | 42 ++++++++++++++- .../tuya_local/translations/ru.json | 42 ++++++++++++++- .../tuya_local/translations/uk.json | 42 ++++++++++++++- .../tuya_local/translations/ur.json | 42 ++++++++++++++- .../tuya_local/translations/zh-Hans.json | 42 ++++++++++++++- .../tuya_local/translations/zh-Hant.json | 42 ++++++++++++++- tests/devices/test_arlec_fan.py | 8 +-- tests/devices/test_arlec_fan_light.py | 8 +-- tests/devices/test_avatto_blinds.py | 10 ++-- .../devices/test_betterlife_bl1500_heater.py | 26 +++++----- .../devices/test_blitzwolf_bsh2_humidifier.py | 14 ++--- tests/devices/test_eanons_humidifier.py | 26 +++++----- tests/devices/test_essentials_purifier.py | 8 +-- tests/devices/test_himox_h05_purifier.py | 10 ++-- tests/devices/test_himox_h06_purifier.py | 6 +-- tests/devices/test_immax_neo_light_vento.py | 12 ++--- .../test_nashone_mts700wb_thermostat.py | 4 +- tests/devices/test_poiema_one_purifier.py | 12 ++--- tests/devices/test_stirling_fs140dc_fan.py | 46 ++++++++-------- tests/devices/test_vork_vk6067aw_purifier.py | 6 +-- tests/devices/test_wetair_wch750_heater.py | 50 +++++++++--------- .../test_wilfa_haze_hu400bc_humidifier.py | 26 +++++----- 151 files changed, 2310 insertions(+), 1534 deletions(-) diff --git a/custom_components/tuya_local/devices/AlecoAir_D25_Traditio.yaml b/custom_components/tuya_local/devices/AlecoAir_D25_Traditio.yaml index 683c170112..593f341291 100644 --- a/custom_components/tuya_local/devices/AlecoAir_D25_Traditio.yaml +++ b/custom_components/tuya_local/devices/AlecoAir_D25_Traditio.yaml @@ -104,52 +104,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/DH-CSK03W_dehumidifier.yaml b/custom_components/tuya_local/devices/DH-CSK03W_dehumidifier.yaml index d237d2952a..22156a7e7b 100644 --- a/custom_components/tuya_local/devices/DH-CSK03W_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/DH-CSK03W_dehumidifier.yaml @@ -35,24 +35,24 @@ secondary_entities: name: option optional: true mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "12h" - value: "12 hours" + value: "12h" - dps_val: "18h" - value: "18 hours" + value: "18h" - dps_val: "24h" - value: "24 hours" + value: "24h" - dps_val: "36h" - value: "36 hours" + value: "36h" - dps_val: "48h" - value: "48 hours" + value: "48h" - entity: select name: "Light mode" category: config 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 039339e3a6..91d5c73664 100755 --- a/custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml @@ -72,7 +72,6 @@ secondary_entities: type: boolean name: lock - entity: select - name: Countdown translation_key: timer category: config dps: @@ -81,55 +80,55 @@ secondary_entities: type: string mapping: - dps_val: "0" - value: Cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml b/custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml index 65cb341211..ef146f413e 100644 --- a/custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml @@ -109,52 +109,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml b/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml index 6c46586aba..c3764b7a77 100644 --- a/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml @@ -134,52 +134,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/amico_smart_ceiling_fan.yaml b/custom_components/tuya_local/devices/amico_smart_ceiling_fan.yaml index 9262628187..04a38a1136 100644 --- a/custom_components/tuya_local/devices/amico_smart_ceiling_fan.yaml +++ b/custom_components/tuya_local/devices/amico_smart_ceiling_fan.yaml @@ -68,13 +68,13 @@ secondary_entities: type: string name: option mapping: - - dps_val: "cancel" - value: "off" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "8h" - value: "8 hours" + value: "8h" 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 5aff779dfa..5071ae77f2 100644 --- a/custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml +++ b/custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml @@ -62,55 +62,55 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/arlec_6speed_fan.yaml b/custom_components/tuya_local/devices/arlec_6speed_fan.yaml index cde274ab0b..02e005e0d2 100644 --- a/custom_components/tuya_local/devices/arlec_6speed_fan.yaml +++ b/custom_components/tuya_local/devices/arlec_6speed_fan.yaml @@ -73,16 +73,16 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" diff --git a/custom_components/tuya_local/devices/arlec_apr005ha_air_purifier.yaml b/custom_components/tuya_local/devices/arlec_apr005ha_air_purifier.yaml index 20250aa204..75d9b8e052 100644 --- a/custom_components/tuya_local/devices/arlec_apr005ha_air_purifier.yaml +++ b/custom_components/tuya_local/devices/arlec_apr005ha_air_purifier.yaml @@ -56,31 +56,31 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - entity: sensor class: pm25 dps: @@ -96,4 +96,4 @@ secondary_entities: - id: 17 name: sensor type: integer - unit: hours + unit: h diff --git a/custom_components/tuya_local/devices/arlec_fan.yaml b/custom_components/tuya_local/devices/arlec_fan.yaml index 75921dc563..9c1aff5fae 100644 --- a/custom_components/tuya_local/devices/arlec_fan.yaml +++ b/custom_components/tuya_local/devices/arlec_fan.yaml @@ -35,10 +35,10 @@ secondary_entities: type: string mapping: - dps_val: "off" - value: "Off" + value: cancel - dps_val: 2hour - value: "2 hours" + value: "2h" - dps_val: 4hour - value: "4 hours" + value: "4h" - dps_val: 8hour - value: "8 hours" + value: "8h" diff --git a/custom_components/tuya_local/devices/arlec_fan_light.yaml b/custom_components/tuya_local/devices/arlec_fan_light.yaml index 341a373257..0712fc4bae 100644 --- a/custom_components/tuya_local/devices/arlec_fan_light.yaml +++ b/custom_components/tuya_local/devices/arlec_fan_light.yaml @@ -58,10 +58,10 @@ secondary_entities: type: string mapping: - dps_val: "off" - value: "Off" + value: cancel - dps_val: 2hour - value: "2 hours" + value: "2h" - dps_val: 4hour - value: "4 hours" + value: "4h" - dps_val: 8hour - value: "8 hours" + value: "8h" diff --git a/custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml b/custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml index cc22e3ea94..304b29b0ed 100644 --- a/custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml +++ b/custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml @@ -45,26 +45,26 @@ secondary_entities: - id: 7 type: boolean name: lock - - entity: number + - entity: select translation_key: timer category: config dps: - id: 19 type: string - name: value + name: option optional: true mapping: - - dps_val: "cancel" - value: "off" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" diff --git a/custom_components/tuya_local/devices/asc_wifi_circuit_breaker.yaml b/custom_components/tuya_local/devices/asc_wifi_circuit_breaker.yaml index 8674c41c5f..94d00c5744 100644 --- a/custom_components/tuya_local/devices/asc_wifi_circuit_breaker.yaml +++ b/custom_components/tuya_local/devices/asc_wifi_circuit_breaker.yaml @@ -9,7 +9,6 @@ primary_entity: type: boolean secondary_entities: - entity: number - name: Countdown translation_key: timer category: config dps: diff --git a/custom_components/tuya_local/devices/atomi_ceramic_heater.yaml b/custom_components/tuya_local/devices/atomi_ceramic_heater.yaml index 26e3e83bca..ed7b8bb707 100644 --- a/custom_components/tuya_local/devices/atomi_ceramic_heater.yaml +++ b/custom_components/tuya_local/devices/atomi_ceramic_heater.yaml @@ -63,31 +63,31 @@ secondary_entities: name: option mapping: - dps_val: "0h" - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/atorch_s1wp.yaml b/custom_components/tuya_local/devices/atorch_s1wp.yaml index cbcc92ba5a..d6dd77d0ed 100644 --- a/custom_components/tuya_local/devices/atorch_s1wp.yaml +++ b/custom_components/tuya_local/devices/atorch_s1wp.yaml @@ -302,7 +302,7 @@ secondary_entities: - id: 122 type: integer name: value - unit: hours + unit: h range: min: 1 max: 99 diff --git a/custom_components/tuya_local/devices/avatto_roller_blinds.yaml b/custom_components/tuya_local/devices/avatto_roller_blinds.yaml index 7c535620bf..b633e580b7 100644 --- a/custom_components/tuya_local/devices/avatto_roller_blinds.yaml +++ b/custom_components/tuya_local/devices/avatto_roller_blinds.yaml @@ -60,15 +60,15 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml b/custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml index 7c75981933..a99468c799 100644 --- a/custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml +++ b/custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml @@ -55,31 +55,31 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/ble_hct611_watertimer.yaml b/custom_components/tuya_local/devices/ble_hct611_watertimer.yaml index 5e02effba8..e813e5cc52 100644 --- a/custom_components/tuya_local/devices/ble_hct611_watertimer.yaml +++ b/custom_components/tuya_local/devices/ble_hct611_watertimer.yaml @@ -72,6 +72,7 @@ secondary_entities: name: state - entity: select name: Weather delay + translation_key: timer icon: "mdi:weather-cloudy-clock" category: config dps: @@ -81,13 +82,13 @@ secondary_entities: optional: true mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "24h" - value: "1 day" + value: "24h" - dps_val: "48h" - value: "2 days" + value: "48h" - dps_val: "72h" - value: "3 days" + value: "72h" - dps_val: null value: "not set" hidden: true diff --git a/custom_components/tuya_local/devices/ble_water_valve.yaml b/custom_components/tuya_local/devices/ble_water_valve.yaml index 260ec38763..531631389b 100644 --- a/custom_components/tuya_local/devices/ble_water_valve.yaml +++ b/custom_components/tuya_local/devices/ble_water_valve.yaml @@ -90,6 +90,7 @@ secondary_entities: optional: true - entity: select name: Weather delay + translation_key: timer icon: "mdi:weather-cloudy-clock" category: config dps: @@ -98,13 +99,13 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "24h" - value: "1 day" + value: "24h" - dps_val: "48h" - value: "2 days" + value: "48h" - dps_val: "72h" - value: "3 days" + value: "72h" - entity: number name: Irrigation time category: config diff --git a/custom_components/tuya_local/devices/blitzwolf_bwsh2_humidifier.yaml b/custom_components/tuya_local/devices/blitzwolf_bwsh2_humidifier.yaml index 50dabd88e0..97b9350101 100644 --- a/custom_components/tuya_local/devices/blitzwolf_bwsh2_humidifier.yaml +++ b/custom_components/tuya_local/devices/blitzwolf_bwsh2_humidifier.yaml @@ -64,16 +64,16 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "12h" - value: "12 hours" + value: "12h" diff --git a/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml b/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml index 08a622294d..bf7e29349a 100644 --- a/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml +++ b/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml @@ -125,32 +125,32 @@ secondary_entities: type: string optional: true mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - id: 20 name: remaining type: integer diff --git a/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml b/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml index b6d312ff0d..d268a95048 100644 --- a/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml +++ b/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml @@ -65,55 +65,55 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: binary_sensor class: problem category: diagnostic diff --git a/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml b/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml index 58c5092bc9..07327a85d5 100644 --- a/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml +++ b/custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml @@ -62,31 +62,31 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "19 hours" + value: "19h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/breville_easyair_purifier.yaml b/custom_components/tuya_local/devices/breville_easyair_purifier.yaml index db0895a106..ed9b93da03 100644 --- a/custom_components/tuya_local/devices/breville_easyair_purifier.yaml +++ b/custom_components/tuya_local/devices/breville_easyair_purifier.yaml @@ -56,13 +56,13 @@ secondary_entities: name: option mapping: - dps_val: "cancle" - value: "Cancel" + value: cancel - dps_val: "2" - value: "2 hour" + value: "2h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "8" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining category: diagnostic diff --git a/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml b/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml index 20078776e5..e5b7060328 100644 --- a/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml @@ -67,55 +67,55 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor class: humidity dps: diff --git a/custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml b/custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml index d62f16ee62..cc8aca225c 100644 --- a/custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml +++ b/custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml @@ -69,13 +69,13 @@ secondary_entities: name: option mapping: - dps_val: "cancel" - value: "Cancel" + value: cancel - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "8h" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining category: diagnostic diff --git a/custom_components/tuya_local/devices/breville_smartairconnect_purifier.yaml b/custom_components/tuya_local/devices/breville_smartairconnect_purifier.yaml index 94a386e217..8912dd6be9 100644 --- a/custom_components/tuya_local/devices/breville_smartairconnect_purifier.yaml +++ b/custom_components/tuya_local/devices/breville_smartairconnect_purifier.yaml @@ -70,14 +70,14 @@ secondary_entities: type: string name: option mapping: - - dps_val: "cancle" - value: "Cancel" + - dps_val: cancle + value: cancel - dps_val: "2" - value: "2 hour" + value: "2h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "8" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining category: diagnostic diff --git a/custom_components/tuya_local/devices/bvf_cp1_heater.yaml b/custom_components/tuya_local/devices/bvf_cp1_heater.yaml index 08c73680cf..ab863bb5a8 100644 --- a/custom_components/tuya_local/devices/bvf_cp1_heater.yaml +++ b/custom_components/tuya_local/devices/bvf_cp1_heater.yaml @@ -103,52 +103,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - dps_val: "13h" - value: "13 hours" + value: "13h" - dps_val: "14h" - value: "14 hours" + value: "14h" - dps_val: "15h" - value: "15 hours" + value: "15h" - dps_val: "16h" - value: "16 hours" + value: "16h" - dps_val: "17h" - value: "17 hours" + value: "17h" - dps_val: "18h" - value: "18 hours" + value: "18h" - dps_val: "19h" - value: "19 hours" + value: "19h" - dps_val: "20h" - value: "20 hours" + value: "20h" - dps_val: "21h" - value: "21 hours" + value: "21h" - dps_val: "22h" - value: "22 hours" + value: "22h" - dps_val: "23h" - value: "23 hours" + value: "23h" - dps_val: "24h" - value: "24 hours" + value: "24h" diff --git a/custom_components/tuya_local/devices/calex_convector_heater.yaml b/custom_components/tuya_local/devices/calex_convector_heater.yaml index 3921f00768..6a62c5ddd7 100644 --- a/custom_components/tuya_local/devices/calex_convector_heater.yaml +++ b/custom_components/tuya_local/devices/calex_convector_heater.yaml @@ -75,55 +75,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml b/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml index ca7f542ff7..2b1bdace39 100644 --- a/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml +++ b/custom_components/tuya_local/devices/carro_ph805_humidifier.yaml @@ -78,25 +78,25 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - entity: binary_sensor translation_key: tank_empty category: diagnostic diff --git a/custom_components/tuya_local/devices/casafan_ceiling_fan_light.yaml b/custom_components/tuya_local/devices/casafan_ceiling_fan_light.yaml index 5d4d89dcbf..e74cd1651c 100644 --- a/custom_components/tuya_local/devices/casafan_ceiling_fan_light.yaml +++ b/custom_components/tuya_local/devices/casafan_ceiling_fan_light.yaml @@ -57,16 +57,16 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" diff --git a/custom_components/tuya_local/devices/cecotec_fan_light.yaml b/custom_components/tuya_local/devices/cecotec_fan_light.yaml index 3adfbf3fb3..dd833c322d 100644 --- a/custom_components/tuya_local/devices/cecotec_fan_light.yaml +++ b/custom_components/tuya_local/devices/cecotec_fan_light.yaml @@ -87,21 +87,21 @@ secondary_entities: name: option type: string mapping: - - dps_val: "cancel" - value: "cancel" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" diff --git a/custom_components/tuya_local/devices/cleanair_604b_humidifier.yaml b/custom_components/tuya_local/devices/cleanair_604b_humidifier.yaml index 9221104caf..fc30f6ff51 100644 --- a/custom_components/tuya_local/devices/cleanair_604b_humidifier.yaml +++ b/custom_components/tuya_local/devices/cleanair_604b_humidifier.yaml @@ -54,31 +54,31 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: 'Off' + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml b/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml index f760fc1700..1ecfb190d2 100644 --- a/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml +++ b/custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml @@ -119,13 +119,13 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "3 hours" + value: "3h" - dps_val: "3" - value: "6 hours" + value: "6h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/duux_whisper_fan.yaml b/custom_components/tuya_local/devices/duux_whisper_fan.yaml index 2c0c44a2f6..84d46629f0 100644 --- a/custom_components/tuya_local/devices/duux_whisper_fan.yaml +++ b/custom_components/tuya_local/devices/duux_whisper_fan.yaml @@ -105,31 +105,31 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/dynasty_btx_fireplace.yaml b/custom_components/tuya_local/devices/dynasty_btx_fireplace.yaml index 4587110b07..08c74baa26 100644 --- a/custom_components/tuya_local/devices/dynasty_btx_fireplace.yaml +++ b/custom_components/tuya_local/devices/dynasty_btx_fireplace.yaml @@ -67,25 +67,25 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/eanons_humidifier.yaml b/custom_components/tuya_local/devices/eanons_humidifier.yaml index 4ab4854014..3c297d2fce 100644 --- a/custom_components/tuya_local/devices/eanons_humidifier.yaml +++ b/custom_components/tuya_local/devices/eanons_humidifier.yaml @@ -70,32 +70,32 @@ secondary_entities: name: option type: string mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml b/custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml index cdee5831c7..faa0debb3d 100644 --- a/custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml @@ -141,20 +141,20 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Continuous" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h diff --git a/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml b/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml index 72b3542057..3db9e1a6e8 100644 --- a/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml @@ -132,52 +132,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml b/custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml index 767d4b405e..467456fbc6 100644 --- a/custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml @@ -73,52 +73,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml b/custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml index b4c37111d1..695d0b2a57 100644 --- a/custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml @@ -93,52 +93,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml b/custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml index 5caf3ce4ea..417939ad2f 100644 --- a/custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml @@ -120,52 +120,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/electric_panel_heater.yaml b/custom_components/tuya_local/devices/electric_panel_heater.yaml index 323288f0ce..389c603b7d 100644 --- a/custom_components/tuya_local/devices/electric_panel_heater.yaml +++ b/custom_components/tuya_local/devices/electric_panel_heater.yaml @@ -75,55 +75,55 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/essentials_purifier.yaml b/custom_components/tuya_local/devices/essentials_purifier.yaml index dca62edb82..ee4414c515 100644 --- a/custom_components/tuya_local/devices/essentials_purifier.yaml +++ b/custom_components/tuya_local/devices/essentials_purifier.yaml @@ -84,13 +84,13 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 2h - value: "2 hours" + value: "2h" - dps_val: 4h - value: "4 hours" + value: "4h" - dps_val: 8h - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml b/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml index e8b9f63793..d2eb034f61 100644 --- a/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml +++ b/custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml @@ -87,14 +87,14 @@ secondary_entities: name: option type: string mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "6" - value: "6 hours" + value: "6h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml b/custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml index b5eac7f5ed..034a912ae9 100644 --- a/custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml +++ b/custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml @@ -49,15 +49,15 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: Cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - entity: sensor translation_key: time_remaining category: diagnostic diff --git a/custom_components/tuya_local/devices/goodcell_ev_charger.yaml b/custom_components/tuya_local/devices/goodcell_ev_charger.yaml index 52f9107d33..7bda8dfd41 100644 --- a/custom_components/tuya_local/devices/goodcell_ev_charger.yaml +++ b/custom_components/tuya_local/devices/goodcell_ev_charger.yaml @@ -147,6 +147,10 @@ secondary_entities: range: min: 0 max: 15 + - id: 121 + type: string + optional: true + name: display - entity: sensor class: energy dps: @@ -266,6 +270,10 @@ secondary_entities: type: string optional: true name: session_duration + - id: 122 + type: string + optional: true + name: display - entity: select name: Toggle charging icon: "mdi:ev-plug-type2" diff --git a/custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml b/custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml index 780e20c164..1864829e59 100644 --- a/custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml +++ b/custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml @@ -148,52 +148,52 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h diff --git a/custom_components/tuya_local/devices/herschel_irheater.yaml b/custom_components/tuya_local/devices/herschel_irheater.yaml index 3ef6328051..3a7c2776ea 100644 --- a/custom_components/tuya_local/devices/herschel_irheater.yaml +++ b/custom_components/tuya_local/devices/herschel_irheater.yaml @@ -40,55 +40,55 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/himox_h05_purifier.yaml b/custom_components/tuya_local/devices/himox_h05_purifier.yaml index 858ef9b2e9..df9ed203c1 100644 --- a/custom_components/tuya_local/devices/himox_h05_purifier.yaml +++ b/custom_components/tuya_local/devices/himox_h05_purifier.yaml @@ -61,15 +61,15 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: "1 hour" + value: "1h" - dps_val: 2h - value: "2 hours" + value: "2h" - dps_val: 4h - value: "4 hours" + value: "4h" - dps_val: 8h - value: "8 hours" + value: "8h" - entity: sensor name: Air quality dps: diff --git a/custom_components/tuya_local/devices/himox_h06_purifier.yaml b/custom_components/tuya_local/devices/himox_h06_purifier.yaml index a9e6f43666..b049398571 100644 --- a/custom_components/tuya_local/devices/himox_h06_purifier.yaml +++ b/custom_components/tuya_local/devices/himox_h06_purifier.yaml @@ -49,11 +49,11 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 4h - value: "4 hours" + value: "4h" - dps_val: 8h - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining category: diagnostic diff --git a/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml b/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml index e9bd4794b7..94c24ee517 100644 --- a/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml +++ b/custom_components/tuya_local/devices/hiper_bladeless_fan.yaml @@ -59,23 +59,23 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/hjz_radiator.yaml b/custom_components/tuya_local/devices/hjz_radiator.yaml index 3756c8f3bc..844f241ac1 100644 --- a/custom_components/tuya_local/devices/hjz_radiator.yaml +++ b/custom_components/tuya_local/devices/hjz_radiator.yaml @@ -55,19 +55,19 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: "1 hour" + value: "1h" - dps_val: 2h - value: "2 hour" + value: "2h" - dps_val: 3h - value: "3 hour" + value: "3h" - dps_val: 4h - value: "4 hour" + value: "4h" - dps_val: 5h - value: "5 hour" + value: "5h" - dps_val: 6h - value: "6 hour" + value: "6h" - entity: binary_sensor category: diagnostic class: problem diff --git a/custom_components/tuya_local/devices/holman_wx1_taptimer.yaml b/custom_components/tuya_local/devices/holman_wx1_taptimer.yaml index 0755f1648a..6927a27a0e 100644 --- a/custom_components/tuya_local/devices/holman_wx1_taptimer.yaml +++ b/custom_components/tuya_local/devices/holman_wx1_taptimer.yaml @@ -235,6 +235,7 @@ secondary_entities: - mask: "FF00000000000000" - entity: select name: Watering delay + translation_key: timer category: config dps: - id: 113 @@ -242,7 +243,7 @@ secondary_entities: type: string mapping: - dps_val: 0 - value: 0h + value: cancel - dps_val: 24 value: 24h - dps_val: 48 diff --git a/custom_components/tuya_local/devices/holman_wx2_taptimer.yaml b/custom_components/tuya_local/devices/holman_wx2_taptimer.yaml index 63d380a8f4..a9a1c842fc 100644 --- a/custom_components/tuya_local/devices/holman_wx2_taptimer.yaml +++ b/custom_components/tuya_local/devices/holman_wx2_taptimer.yaml @@ -256,6 +256,7 @@ secondary_entities: - mask: "FF00000000000000" - entity: select name: Watering delay 1 + translation_key: timer category: config dps: - id: 113 @@ -263,7 +264,7 @@ secondary_entities: type: string mapping: - dps_val: 0 - value: 0h + value: cancel - dps_val: 24 value: 24h - dps_val: 48 @@ -708,6 +709,7 @@ secondary_entities: - mask: "FF00000000000000" - entity: select name: Watering delay 2 + translation_key: timer category: config dps: - id: 160 @@ -715,7 +717,7 @@ secondary_entities: type: string mapping: - dps_val: 0 - value: 0h + value: cancel - dps_val: 24 value: 24h - dps_val: 48 diff --git a/custom_components/tuya_local/devices/hyd_weair_plus_fan.yaml b/custom_components/tuya_local/devices/hyd_weair_plus_fan.yaml index 694eb41b40..9cec94f2e7 100644 --- a/custom_components/tuya_local/devices/hyd_weair_plus_fan.yaml +++ b/custom_components/tuya_local/devices/hyd_weair_plus_fan.yaml @@ -88,23 +88,23 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: "duration" diff --git a/custom_components/tuya_local/devices/immax_neo_light_vento.yaml b/custom_components/tuya_local/devices/immax_neo_light_vento.yaml index d482a93c52..8f4dc5144d 100644 --- a/custom_components/tuya_local/devices/immax_neo_light_vento.yaml +++ b/custom_components/tuya_local/devices/immax_neo_light_vento.yaml @@ -50,12 +50,12 @@ secondary_entities: type: string mapping: - dps_val: "off" - value: "Off" + value: cancel - dps_val: 1hour - value: "1 hour" + value: "1h" - dps_val: 2hour - value: "2 hours" + value: "2h" - dps_val: 4hour - value: "4 hours" + value: "4h" - dps_val: 8hour - value: "8 hours" + value: "8h" diff --git a/custom_components/tuya_local/devices/inow_heater_element.yaml b/custom_components/tuya_local/devices/inow_heater_element.yaml index 61fbe7e914..0798a904a1 100644 --- a/custom_components/tuya_local/devices/inow_heater_element.yaml +++ b/custom_components/tuya_local/devices/inow_heater_element.yaml @@ -36,11 +36,11 @@ primary_entity: optional: true mapping: - dps_val: "0h" - value: "off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" secondary_entities: - entity: lock translation_key: child_lock diff --git a/custom_components/tuya_local/devices/inow_heater_element_v2.yaml b/custom_components/tuya_local/devices/inow_heater_element_v2.yaml index 5c669917f9..cb80415b97 100644 --- a/custom_components/tuya_local/devices/inow_heater_element_v2.yaml +++ b/custom_components/tuya_local/devices/inow_heater_element_v2.yaml @@ -60,11 +60,11 @@ secondary_entities: name: option mapping: - dps_val: "0h" - value: "off" + value: cancel - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - entity: climate name: Room temperature icon: "mdi:home-thermometer-outline" diff --git a/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml b/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml index a87e8d05b3..b2fc481e68 100644 --- a/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml @@ -155,25 +155,25 @@ secondary_entities: name: option mapping: - dps_val: "None" - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml b/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml index 9d6f6683aa..f2a3eb4ac7 100644 --- a/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml +++ b/custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml @@ -58,55 +58,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - dps_val: "13h" - value: "13 hours" + value: "13h" - dps_val: "14h" - value: "14 hours" + value: "14h" - dps_val: "15h" - value: "15 hours" + value: "15h" - dps_val: "16h" - value: "16 hours" + value: "16h" - dps_val: "17h" - value: "17 hours" + value: "17h" - dps_val: "18h" - value: "18 hours" + value: "18h" - dps_val: "19h" - value: "19 hours" + value: "19h" - dps_val: "20h" - value: "20 hours" + value: "20h" - dps_val: "21h" - value: "21 hours" + value: "21h" - dps_val: "22h" - value: "22 hours" + value: "22h" - dps_val: "23h" - value: "23 hours" + value: "23h" - dps_val: "24h" - value: "24 hours" + value: "24h" - entity: binary_sensor class: problem category: diagnostic diff --git a/custom_components/tuya_local/devices/kennedy_fireplace.yaml b/custom_components/tuya_local/devices/kennedy_fireplace.yaml index 0fd6f1febb..ea5537f779 100644 --- a/custom_components/tuya_local/devices/kennedy_fireplace.yaml +++ b/custom_components/tuya_local/devices/kennedy_fireplace.yaml @@ -98,25 +98,25 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/klarstein_skyscraper_ice_smart.yaml b/custom_components/tuya_local/devices/klarstein_skyscraper_ice_smart.yaml index 7801911503..6b073ffbdf 100644 --- a/custom_components/tuya_local/devices/klarstein_skyscraper_ice_smart.yaml +++ b/custom_components/tuya_local/devices/klarstein_skyscraper_ice_smart.yaml @@ -44,35 +44,35 @@ secondary_entities: - dps_val: cancel value: "off" - dps_val: "0_5h" - value: "0.5 hours" + value: "30m" - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "1_5h" - value: "1.5 hours" + value: "1h30m" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "2_5h" - value: "2.5 hours" + value: "2h30m" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "3_5h" - value: "3.5 hours" + value: "3h30m" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "4_5h" - value: "4.5 hours" + value: "4h30m" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "5_5h" - value: "5.5 hours" + value: "5h30m" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "6_5h" - value: "6.5 hours" + value: "6h30m" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "7_5h" - value: "7.5 hours" + value: "7h30m" - entity: sensor category: diagnostic translation_key: time_remaining diff --git a/custom_components/tuya_local/devices/klarstein_wonderwall_air.yaml b/custom_components/tuya_local/devices/klarstein_wonderwall_air.yaml index a7bdf2c46b..0d4f8affed 100644 --- a/custom_components/tuya_local/devices/klarstein_wonderwall_air.yaml +++ b/custom_components/tuya_local/devices/klarstein_wonderwall_air.yaml @@ -53,55 +53,55 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/klarstein_wonderwall_irheater.yaml b/custom_components/tuya_local/devices/klarstein_wonderwall_irheater.yaml index bb0fa3a7d3..afdded8efa 100644 --- a/custom_components/tuya_local/devices/klarstein_wonderwall_irheater.yaml +++ b/custom_components/tuya_local/devices/klarstein_wonderwall_irheater.yaml @@ -35,55 +35,55 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/klarta_humea_humidifier.yaml b/custom_components/tuya_local/devices/klarta_humea_humidifier.yaml index 1fbc0332ae..90033f6266 100644 --- a/custom_components/tuya_local/devices/klarta_humea_humidifier.yaml +++ b/custom_components/tuya_local/devices/klarta_humea_humidifier.yaml @@ -110,28 +110,28 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" diff --git a/custom_components/tuya_local/devices/klarta_stor2_purifier.yaml b/custom_components/tuya_local/devices/klarta_stor2_purifier.yaml index 90992e84b4..ae5c392e0f 100644 --- a/custom_components/tuya_local/devices/klarta_stor2_purifier.yaml +++ b/custom_components/tuya_local/devices/klarta_stor2_purifier.yaml @@ -101,15 +101,15 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: "1 hours" + value: "1h" - dps_val: 2h - value: "2 hours" + value: "2h" - dps_val: 4h - value: "4 hours" + value: "4h" - dps_val: 8h - value: "8 hours" + value: "8h" - entity: sensor class: temperature dps: diff --git a/custom_components/tuya_local/devices/kogan_air_purifier.yaml b/custom_components/tuya_local/devices/kogan_air_purifier.yaml index 44bf21a5c3..ddbb7c4947 100644 --- a/custom_components/tuya_local/devices/kogan_air_purifier.yaml +++ b/custom_components/tuya_local/devices/kogan_air_purifier.yaml @@ -59,11 +59,11 @@ secondary_entities: name: option mapping: - dps_val: 1 - value: "Off" + value: cancel - dps_val: 2 - value: "4 hours" + value: "4h" - dps_val: 3 - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml b/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml index f1c59b8e60..d523a9be85 100644 --- a/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml +++ b/custom_components/tuya_local/devices/kogan_bladeless_fan.yaml @@ -97,23 +97,23 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml b/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml index d09b6a8211..4b762e7109 100644 --- a/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml +++ b/custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml @@ -69,32 +69,32 @@ secondary_entities: name: option type: string mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: 1h - value: "1 hour" + value: "1h" - dps_val: 2h - value: "2 hours" + value: "2h" - dps_val: 3h - value: "3 hours" + value: "3h" - dps_val: 4h - value: "4 hours" + value: "4h" - dps_val: 5h - value: "5 hours" + value: "5h" - dps_val: 6h - value: "6 hours" + value: "6h" - dps_val: 7h - value: "7 hours" + value: "7h" - dps_val: 8h - value: "8 hours" + value: "8h" - dps_val: 9h - value: "9 hours" + value: "9h" - dps_val: 10h - value: "10 hours" + value: "10h" - dps_val: 11h - value: "11 hours" + value: "11h" - dps_val: 12h - value: "12 hours" + value: "12h" - entity: binary_sensor class: problem category: diagnostic diff --git a/custom_components/tuya_local/devices/lehmann_lhohc2013c_radiator.yaml b/custom_components/tuya_local/devices/lehmann_lhohc2013c_radiator.yaml index 81ecd8dfce..493b863013 100644 --- a/custom_components/tuya_local/devices/lehmann_lhohc2013c_radiator.yaml +++ b/custom_components/tuya_local/devices/lehmann_lhohc2013c_radiator.yaml @@ -65,55 +65,55 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor class: duration translation_key: time_remaining diff --git a/custom_components/tuya_local/devices/mantra_fan.yaml b/custom_components/tuya_local/devices/mantra_fan.yaml index 707d5c520a..ed1f7ce42f 100644 --- a/custom_components/tuya_local/devices/mantra_fan.yaml +++ b/custom_components/tuya_local/devices/mantra_fan.yaml @@ -90,23 +90,23 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml b/custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml index ef5b8e4f3b..20c58ffaed 100644 --- a/custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml +++ b/custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml @@ -117,13 +117,13 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "3 hours" + value: "3h" - dps_val: "3" - value: "6 hours" + value: "6h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml b/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml index ad3bf28948..fa0c31d2f3 100644 --- a/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml +++ b/custom_components/tuya_local/devices/mellerware_comfy_radiator.yaml @@ -101,55 +101,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml b/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml index 297b8bce1c..6f6a8cd504 100644 --- a/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml +++ b/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml @@ -96,25 +96,25 @@ secondary_entities: name: option mapping: - dps_val: "00" - value: "Off" + value: cancel - dps_val: "30" - value: "30 minutes" + value: "30m" - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - id: 114 type: string optional: true diff --git a/custom_components/tuya_local/devices/moistenland_water_timer.yaml b/custom_components/tuya_local/devices/moistenland_water_timer.yaml index 6b91f83618..27698eb05c 100644 --- a/custom_components/tuya_local/devices/moistenland_water_timer.yaml +++ b/custom_components/tuya_local/devices/moistenland_water_timer.yaml @@ -50,6 +50,7 @@ secondary_entities: value: "Fully Charged" - entity: select name: Weather delay + translation_key: timer icon: "mdi:weather-cloudy-clock" category: config dps: @@ -57,14 +58,14 @@ secondary_entities: type: string name: option mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: "24h" - value: "1 day" + value: "24h" - dps_val: "48h" - value: "2 days" + value: "48h" - dps_val: "72h" - value: "3 days" + value: "72h" - entity: number category: config translation_key: timer diff --git a/custom_components/tuya_local/devices/nac_ap470_purifier.yaml b/custom_components/tuya_local/devices/nac_ap470_purifier.yaml index 37e1b006a0..d4831a45fb 100644 --- a/custom_components/tuya_local/devices/nac_ap470_purifier.yaml +++ b/custom_components/tuya_local/devices/nac_ap470_purifier.yaml @@ -112,15 +112,15 @@ secondary_entities: optional: true mapping: - dps_val: cancle - value: "Off" + value: cancel - dps_val: 2 - value: "2 hours" + value: "2h" - dps_val: 4 - value: "4 hours" + value: "4h" - dps_val: 6 - value: "6 hours" + value: "6h" - dps_val: 8 - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/nashone_mts700wb_thermostat.yaml b/custom_components/tuya_local/devices/nashone_mts700wb_thermostat.yaml index 9a37b56138..7626752c52 100644 --- a/custom_components/tuya_local/devices/nashone_mts700wb_thermostat.yaml +++ b/custom_components/tuya_local/devices/nashone_mts700wb_thermostat.yaml @@ -91,10 +91,10 @@ secondary_entities: type: string name: option mapping: - - dps_val: "cancel" - value: "off" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - entity: sensor category: diagnostic translation_key: time_remaining diff --git a/custom_components/tuya_local/devices/nedis_ptc_fan_heater.yaml b/custom_components/tuya_local/devices/nedis_ptc_fan_heater.yaml index d80fe050f1..f9994e261a 100644 --- a/custom_components/tuya_local/devices/nedis_ptc_fan_heater.yaml +++ b/custom_components/tuya_local/devices/nedis_ptc_fan_heater.yaml @@ -67,19 +67,19 @@ secondary_entities: type: string mapping: - dps_val: "cancel" - value: Cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "2h" - value: "3 hours" + value: "3h" - dps_val: "3h" - value: "4 hours" + value: "4h" - dps_val: "4h" - value: "5 hours" + value: "5h" - dps_val: "5h" - value: "6 hours" + value: "6h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/netmostat_n1_thermostat.yaml b/custom_components/tuya_local/devices/netmostat_n1_thermostat.yaml index 82e15efdbb..94a6eedeae 100644 --- a/custom_components/tuya_local/devices/netmostat_n1_thermostat.yaml +++ b/custom_components/tuya_local/devices/netmostat_n1_thermostat.yaml @@ -51,8 +51,8 @@ secondary_entities: optional: true mapping: - dps_val: "0h" - value: "off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" 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 405cdc29da..e4fa76a82c 100644 --- a/custom_components/tuya_local/devices/nx_100ap_air_purifier.yaml +++ b/custom_components/tuya_local/devices/nx_100ap_air_purifier.yaml @@ -62,22 +62,22 @@ secondary_entities: type: string name: option mapping: - - dps_val: "Cancel" - value: "Cancel" + - dps_val: Cancel + value: cancel - dps_val: "2H" - value: "2 hours" + value: "2h" - dps_val: "4H" - value: "4 hours" + value: "4h" - dps_val: "6H" - value: "6 hours" + value: "6h" - dps_val: "8H" - value: "8 hours" + value: "8h" - dps_val: "10H" - value: "10 hours" + value: "10h" - dps_val: "12H" - value: "12 hours" + value: "12h" - dps_val: "24H" - value: "24 hours" + value: "24h" - entity: button name: Filter reset category: config diff --git a/custom_components/tuya_local/devices/ovlaim_ceiling_fan_light.yaml b/custom_components/tuya_local/devices/ovlaim_ceiling_fan_light.yaml index 41969cd5a0..147529811c 100644 --- a/custom_components/tuya_local/devices/ovlaim_ceiling_fan_light.yaml +++ b/custom_components/tuya_local/devices/ovlaim_ceiling_fan_light.yaml @@ -59,12 +59,12 @@ secondary_entities: name: option mapping: - dps_val: "off" - value: "Off" + value: cancel - dps_val: "1hour" - value: "1 hour" + value: "1h" - dps_val: "2hour" - value: "2 hours" + value: "2h" - dps_val: "4hour" - value: "4 hours" + value: "4h" - dps_val: "8hour" - value: "8 hours" + value: "8h" diff --git a/custom_components/tuya_local/devices/poiema_one_purifier.yaml b/custom_components/tuya_local/devices/poiema_one_purifier.yaml index abf170956d..6c1abdd898 100644 --- a/custom_components/tuya_local/devices/poiema_one_purifier.yaml +++ b/custom_components/tuya_local/devices/poiema_one_purifier.yaml @@ -64,17 +64,17 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - entity: sensor translation_key: time_remaining category: diagnostic diff --git a/custom_components/tuya_local/devices/probreeze_pb20.yaml b/custom_components/tuya_local/devices/probreeze_pb20.yaml index f400ce30b0..cfbcdf36f1 100644 --- a/custom_components/tuya_local/devices/probreeze_pb20.yaml +++ b/custom_components/tuya_local/devices/probreeze_pb20.yaml @@ -75,55 +75,55 @@ secondary_entities: type: string mapping: - dps_val: "0" - value: Cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/proscenic_a9_airpurifier.yaml b/custom_components/tuya_local/devices/proscenic_a9_airpurifier.yaml index b792de4044..0a6583c21a 100644 --- a/custom_components/tuya_local/devices/proscenic_a9_airpurifier.yaml +++ b/custom_components/tuya_local/devices/proscenic_a9_airpurifier.yaml @@ -135,12 +135,12 @@ secondary_entities: name: option mapping: - dps_val: 0 - value: "Off" + value: cancel - dps_val: 1 - value: "1 hour" + value: "1h" - dps_val: 2 - value: "2 hour" + value: "2h" - dps_val: 4 - value: "4 hours" + value: "4h" - dps_val: 8 - value: "8 hours" + value: "8h" 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 3a0de61bf7..4d7f302e4f 100644 --- a/custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml +++ b/custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml @@ -66,55 +66,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - dps_val: "13h" - value: "13 hours" + value: "13h" - dps_val: "14h" - value: "14 hours" + value: "14h" - dps_val: "15h" - value: "15 hours" + value: "15h" - dps_val: "16h" - value: "16 hours" + value: "16h" - dps_val: "17h" - value: "17 hours" + value: "17h" - dps_val: "18h" - value: "18 hours" + value: "18h" - dps_val: "19h" - value: "19 hours" + value: "19h" - dps_val: "20h" - value: "20 hours" + value: "20h" - dps_val: "21h" - value: "21 hours" + value: "21h" - dps_val: "22h" - value: "22 hours" + value: "22h" - dps_val: "23h" - value: "23 hours" + value: "23h" - dps_val: "24h" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml b/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml index 62aa84d78f..91d6a45355 100644 --- a/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/qlima_d820a_dehumidifier.yaml @@ -155,13 +155,13 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/rainpoint_water_timer.yaml b/custom_components/tuya_local/devices/rainpoint_water_timer.yaml index 2c1eca7f5a..e8f6e54f6a 100644 --- a/custom_components/tuya_local/devices/rainpoint_water_timer.yaml +++ b/custom_components/tuya_local/devices/rainpoint_water_timer.yaml @@ -32,6 +32,7 @@ secondary_entities: value: true - entity: select name: Rain delay + translation_key: timer category: config icon: "mdi:timer-sand" dps: @@ -41,7 +42,7 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "0h" + value: cancel - dps_val: "24" value: "24h" - dps_val: "48" diff --git a/custom_components/tuya_local/devices/reiga_52_fan_light.yaml b/custom_components/tuya_local/devices/reiga_52_fan_light.yaml index 7b031a5e73..d777ba293e 100644 --- a/custom_components/tuya_local/devices/reiga_52_fan_light.yaml +++ b/custom_components/tuya_local/devices/reiga_52_fan_light.yaml @@ -38,15 +38,15 @@ secondary_entities: name: option mapping: - dps_val: "off" - value: "Off" + value: cancel - dps_val: "1hour" - value: "1 hour" + value: "1h" - dps_val: "2hour" - value: "2 hours" + value: "2h" - dps_val: "4hour" - value: "4 hours" + value: "4h" - dps_val: "8hour" - value: "8 hours" + value: "8h" - entity: light name: Light icon: "mdi:lightbulb" diff --git a/custom_components/tuya_local/devices/royalclima_rcb150_ventilation.yaml b/custom_components/tuya_local/devices/royalclima_rcb150_ventilation.yaml index dc7a2acf4e..34358aaf23 100644 --- a/custom_components/tuya_local/devices/royalclima_rcb150_ventilation.yaml +++ b/custom_components/tuya_local/devices/royalclima_rcb150_ventilation.yaml @@ -83,31 +83,31 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - entity: sensor name: Outdoor temperature class: temperature @@ -155,28 +155,28 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" diff --git a/custom_components/tuya_local/devices/semptec_zx7007_heater.yaml b/custom_components/tuya_local/devices/semptec_zx7007_heater.yaml index 66ce60929b..f4c324eaea 100644 --- a/custom_components/tuya_local/devices/semptec_zx7007_heater.yaml +++ b/custom_components/tuya_local/devices/semptec_zx7007_heater.yaml @@ -48,21 +48,21 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/sensei_airconditioner.yaml b/custom_components/tuya_local/devices/sensei_airconditioner.yaml index 9b0b4bf7e6..198e2af8c2 100644 --- a/custom_components/tuya_local/devices/sensei_airconditioner.yaml +++ b/custom_components/tuya_local/devices/sensei_airconditioner.yaml @@ -145,55 +145,55 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor class: duration translation_key: time_remaining diff --git a/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml b/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml index 39f205a496..f05a868a1b 100644 --- a/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml @@ -110,55 +110,55 @@ secondary_entities: optional: true mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/skyfan_dc_fan.yaml b/custom_components/tuya_local/devices/skyfan_dc_fan.yaml index 62d0c4f119..26acc6f6a9 100644 --- a/custom_components/tuya_local/devices/skyfan_dc_fan.yaml +++ b/custom_components/tuya_local/devices/skyfan_dc_fan.yaml @@ -39,28 +39,28 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" diff --git a/custom_components/tuya_local/devices/skyfan_fan_light.yaml b/custom_components/tuya_local/devices/skyfan_fan_light.yaml index 71705fb28b..4b719d877f 100644 --- a/custom_components/tuya_local/devices/skyfan_fan_light.yaml +++ b/custom_components/tuya_local/devices/skyfan_fan_light.yaml @@ -63,28 +63,28 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" diff --git a/custom_components/tuya_local/devices/soho_air_purifier.yaml b/custom_components/tuya_local/devices/soho_air_purifier.yaml index 7c3bd2168a..5ec775dc13 100644 --- a/custom_components/tuya_local/devices/soho_air_purifier.yaml +++ b/custom_components/tuya_local/devices/soho_air_purifier.yaml @@ -71,31 +71,31 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - entity: sensor name: Air Quality class: enum diff --git a/custom_components/tuya_local/devices/sonninkonig_eco_elegance_heater.yaml b/custom_components/tuya_local/devices/sonninkonig_eco_elegance_heater.yaml index 375f78c0bb..6e59dbdfb1 100644 --- a/custom_components/tuya_local/devices/sonninkonig_eco_elegance_heater.yaml +++ b/custom_components/tuya_local/devices/sonninkonig_eco_elegance_heater.yaml @@ -41,55 +41,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - dps_val: "13h" - value: "13 hours" + value: "13h" - dps_val: "14h" - value: "14 hours" + value: "14h" - dps_val: "15h" - value: "15 hours" + value: "15h" - dps_val: "16h" - value: "16 hours" + value: "16h" - dps_val: "17h" - value: "17 hours" + value: "17h" - dps_val: "18h" - value: "18 hours" + value: "18h" - dps_val: "19h" - value: "19 hours" + value: "19h" - dps_val: "20h" - value: "20 hours" + value: "20h" - dps_val: "21h" - value: "21 hours" + value: "21h" - dps_val: "22h" - value: "22 hours" + value: "22h" - dps_val: "23h" - value: "23 hours" + value: "23h" - dps_val: "24h" - value: "24 hours" + value: "24h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/sop10_sprinkler.yaml b/custom_components/tuya_local/devices/sop10_sprinkler.yaml index 27ac38973f..ad4aa1717d 100644 --- a/custom_components/tuya_local/devices/sop10_sprinkler.yaml +++ b/custom_components/tuya_local/devices/sop10_sprinkler.yaml @@ -52,6 +52,7 @@ secondary_entities: - entity: select name: Weather delay icon: "mdi:weather-cloudy-clock" + translation_key: timer category: config dps: - id: 10 @@ -59,13 +60,13 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "24h" - value: "24 hours" + value: "24h" - dps_val: "48h" - value: "48 hours" + value: "48h" - dps_val: "72h" - value: "72 hours" + value: "72h" - entity: number translation_key: timer category: config diff --git a/custom_components/tuya_local/devices/stadlerform_roger_purifier.yaml b/custom_components/tuya_local/devices/stadlerform_roger_purifier.yaml index 22c574574a..74dd632cec 100644 --- a/custom_components/tuya_local/devices/stadlerform_roger_purifier.yaml +++ b/custom_components/tuya_local/devices/stadlerform_roger_purifier.yaml @@ -81,11 +81,11 @@ secondary_entities: - dps_val: cancel value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - entity: switch name: Auto class: switch diff --git a/custom_components/tuya_local/devices/stirling_fs140dc_fan.yaml b/custom_components/tuya_local/devices/stirling_fs140dc_fan.yaml index d7fb7a1b75..e206eff830 100644 --- a/custom_components/tuya_local/devices/stirling_fs140dc_fan.yaml +++ b/custom_components/tuya_local/devices/stirling_fs140dc_fan.yaml @@ -35,44 +35,44 @@ secondary_entities: type: string mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "0_5" - value: "30 minutes" + value: "30m" - dps_val: "1_0" - value: "1 hour" + value: "1h" - dps_val: "1_5" - value: "1.5 hours" + value: "1h30m" - dps_val: "2_0" - value: "2 hours" + value: "2h" - dps_val: "2_5" - value: "2.5 hours" + value: "2h30m" - dps_val: "3_0" - value: "3 hours" + value: "3h" - dps_val: "3_5" - value: "3.5 hours" + value: "3h30m" - dps_val: "4_0" - value: "4 hours" + value: "4h" - dps_val: "4_5" - value: "4.5 hours" + value: "4h30m" - dps_val: "5_0" - value: "5 hours" + value: "5h" - dps_val: "5_5" - value: "5.5 hours" + value: "5h30m" - dps_val: "6_0" - value: "6 hours" + value: "6h" - dps_val: "6_5" - value: "6.5 hours" + value: "6h30m" - dps_val: "7_0" - value: "7 hours" + value: "7h" - dps_val: "7_5" - value: "7.5 hours" + value: "7h30m" - dps_val: "8_0" - value: "8 hours" + value: "8h" - dps_val: "8_5" - value: "8.5 hours" + value: "8h30m" - dps_val: "9_0" - value: "9 hours" + value: "9h" - dps_val: "9_5" - value: "9.5 hours" + value: "9h30m" - dps_val: "10_0" - value: "10 hours" + value: "10h" diff --git a/custom_components/tuya_local/devices/sulion_ceiling_fan.yaml b/custom_components/tuya_local/devices/sulion_ceiling_fan.yaml index 5985a16795..92f845ae53 100644 --- a/custom_components/tuya_local/devices/sulion_ceiling_fan.yaml +++ b/custom_components/tuya_local/devices/sulion_ceiling_fan.yaml @@ -51,15 +51,15 @@ secondary_entities: optional: true mapping: - dps_val: null - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "8h" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/taurus_agadir_heater.yaml b/custom_components/tuya_local/devices/taurus_agadir_heater.yaml index 7c5486a148..e113c61965 100644 --- a/custom_components/tuya_local/devices/taurus_agadir_heater.yaml +++ b/custom_components/tuya_local/devices/taurus_agadir_heater.yaml @@ -70,55 +70,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/tesla_air_purifier_mini.yaml b/custom_components/tuya_local/devices/tesla_air_purifier_mini.yaml index dd26c25c48..b3cf881d56 100644 --- a/custom_components/tuya_local/devices/tesla_air_purifier_mini.yaml +++ b/custom_components/tuya_local/devices/tesla_air_purifier_mini.yaml @@ -52,11 +52,11 @@ secondary_entities: type: string name: option mapping: - - dps_val: "cancel" - value: "cancel" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" diff --git a/custom_components/tuya_local/devices/tesla_air_purifier_pro.yaml b/custom_components/tuya_local/devices/tesla_air_purifier_pro.yaml index 7a518f0dc1..d1ace3f357 100644 --- a/custom_components/tuya_local/devices/tesla_air_purifier_pro.yaml +++ b/custom_components/tuya_local/devices/tesla_air_purifier_pro.yaml @@ -87,14 +87,14 @@ secondary_entities: type: string name: option mapping: - - dps_val: "cancel" - value: "cancel" + - dps_val: cancel + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "8h" - value: "8 hours" + value: "8h" - entity: sensor class: pm25 category: diagnostic diff --git a/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml b/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml index 0b21a29760..19edadd063 100644 --- a/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml +++ b/custom_components/tuya_local/devices/tesla_aroma_diffuser.yaml @@ -94,13 +94,13 @@ secondary_entities: name: option mapping: - dps_val: "0" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "3 hours" + value: "3h" - dps_val: "3" - value: "5 hours" + value: "5h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/tesla_humidifier.yaml b/custom_components/tuya_local/devices/tesla_humidifier.yaml index d6ef18daa8..ff43c2ef12 100644 --- a/custom_components/tuya_local/devices/tesla_humidifier.yaml +++ b/custom_components/tuya_local/devices/tesla_humidifier.yaml @@ -35,11 +35,11 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "4h" - value: "4 hours" + value: "4h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/tesla_s300_purifier.yaml b/custom_components/tuya_local/devices/tesla_s300_purifier.yaml index e2793ca5f6..041f68ff69 100644 --- a/custom_components/tuya_local/devices/tesla_s300_purifier.yaml +++ b/custom_components/tuya_local/devices/tesla_s300_purifier.yaml @@ -88,31 +88,31 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - entity: sensor name: Air quality class: enum diff --git a/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml b/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml index 8b576caa45..bf1cd16085 100644 --- a/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/tesla_xl_dehumidifier.yaml @@ -52,13 +52,13 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "8h" - value: "8 hours" + value: "8h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml b/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml index 04e5993134..3c4e977007 100644 --- a/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/vacplus_dehumidifier.yaml @@ -84,52 +84,52 @@ secondary_entities: type: string mapping: - dps_val: "0" - value: Cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - dps_val: "13" - value: "13 hours" + value: "13h" - dps_val: "14" - value: "14 hours" + value: "14h" - dps_val: "15" - value: "15 hours" + value: "15h" - dps_val: "16" - value: "16 hours" + value: "16h" - dps_val: "17" - value: "17 hours" + value: "17h" - dps_val: "18" - value: "18 hours" + value: "18h" - dps_val: "19" - value: "19 hours" + value: "19h" - dps_val: "20" - value: "20 hours" + value: "20h" - dps_val: "21" - value: "21 hours" + value: "21h" - dps_val: "22" - value: "22 hours" + value: "22h" - dps_val: "23" - value: "23 hours" + value: "23h" - dps_val: "24" - value: "24 hours" + value: "24h" diff --git a/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml b/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml index 81cf2f48a4..e8b5ee7d2d 100644 --- a/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/vivosun_de0003_dehumidifier.yaml @@ -101,55 +101,55 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: 1h - value: 1 hour + value: 1h - dps_val: 2h - value: 2 hours + value: 2h - dps_val: 3h - value: 3 hours + value: 3h - dps_val: 4h - value: 4 hours + value: 4h - dps_val: 5h - value: 5 hours + value: 5h - dps_val: 6h - value: 6 hours + value: 6h - dps_val: 7h - value: 7 hours + value: 7h - dps_val: 8h - value: 8 hours + value: 8h - dps_val: 9h - value: 9 hours + value: 9h - dps_val: 10h - value: 10 hours + value: 10h - dps_val: 11h - value: 11 hours + value: 11h - dps_val: 12h - value: 12 hours + value: 12h - dps_val: 13h - value: 13 hours + value: 13h - dps_val: 14h - value: 14 hours + value: 14h - dps_val: 15h - value: 15 hours + value: 15h - dps_val: 16h - value: 16 hours + value: 16h - dps_val: 17h - value: 17 hours + value: 17h - dps_val: 18h - value: 18 hours + value: 18h - dps_val: 19h - value: 19 hours + value: 19h - dps_val: 20h - value: 20 hours + value: 20h - dps_val: 21h - value: 21 hours + value: 21h - dps_val: 22h - value: 22 hours + value: 22h - dps_val: 23h - value: 23 hours + value: 23h - dps_val: 24h - value: 24 hours + value: 24h - entity: binary_sensor translation_key: tank_full category: diagnostic diff --git a/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml b/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml index bfc7c7c412..8c748a3ef9 100644 --- a/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml +++ b/custom_components/tuya_local/devices/vork_vk6067aw_purifier.yaml @@ -64,11 +64,11 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - entity: sensor translation_key: time_remaining class: duration diff --git a/custom_components/tuya_local/devices/wetair_wch750_heater.yaml b/custom_components/tuya_local/devices/wetair_wch750_heater.yaml index 08a05aab70..9833350960 100644 --- a/custom_components/tuya_local/devices/wetair_wch750_heater.yaml +++ b/custom_components/tuya_local/devices/wetair_wch750_heater.yaml @@ -80,55 +80,55 @@ secondary_entities: name: option mapping: - dps_val: "0h" - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - dps_val: "9h" - value: "9 hours" + value: "9h" - dps_val: "10h" - value: "10 hours" + value: "10h" - dps_val: "11h" - value: "11 hours" + value: "11h" - dps_val: "12h" - value: "12 hours" + value: "12h" - dps_val: "13h" - value: "13 hours" + value: "13h" - dps_val: "14h" - value: "14 hours" + value: "14h" - dps_val: "15h" - value: "15 hours" + value: "15h" - dps_val: "16h" - value: "16 hours" + value: "16h" - dps_val: "17h" - value: "17 hours" + value: "17h" - dps_val: "18h" - value: "18 hours" + value: "18h" - dps_val: "19h" - value: "19 hours" + value: "19h" - dps_val: "20h" - value: "20 hours" + value: "20h" - dps_val: "21h" - value: "21 hours" + value: "21h" - dps_val: "22h" - value: "22 hours" + value: "22h" - dps_val: "23h" - value: "23 hours" + value: "23h" - dps_val: "24h" - value: "24 hours" + value: "24h" - entity: sensor category: diagnostic class: duration diff --git a/custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml b/custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml index 9cd91c8e41..6767965ba6 100644 --- a/custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml +++ b/custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml @@ -138,32 +138,32 @@ secondary_entities: name: option type: string mapping: - - dps_val: "cancel" - value: "Off" + - dps_val: cancel + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "2" - value: "2 hours" + value: "2h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "4" - value: "4 hours" + value: "4h" - dps_val: "5" - value: "5 hours" + value: "5h" - dps_val: "6" - value: "6 hours" + value: "6h" - dps_val: "7" - value: "7 hours" + value: "7h" - dps_val: "8" - value: "8 hours" + value: "8h" - dps_val: "9" - value: "9 hours" + value: "9h" - dps_val: "10" - value: "10 hours" + value: "10h" - dps_val: "11" - value: "11 hours" + value: "11h" - dps_val: "12" - value: "12 hours" + value: "12h" - entity: switch name: Air clean category: config diff --git a/custom_components/tuya_local/devices/wood_wdd90_dehumidifier.yaml b/custom_components/tuya_local/devices/wood_wdd90_dehumidifier.yaml index f54fa17412..87567c3cbe 100644 --- a/custom_components/tuya_local/devices/wood_wdd90_dehumidifier.yaml +++ b/custom_components/tuya_local/devices/wood_wdd90_dehumidifier.yaml @@ -94,23 +94,23 @@ secondary_entities: name: option mapping: - dps_val: cancel - value: "Off" + value: cancel - dps_val: "1h" - value: "1 hour" + value: "1h" - dps_val: "2h" - value: "2 hours" + value: "2h" - dps_val: "3h" - value: "3 hours" + value: "3h" - dps_val: "4h" - value: "4 hours" + value: "4h" - dps_val: "5h" - value: "5 hours" + value: "5h" - dps_val: "6h" - value: "6 hours" + value: "6h" - dps_val: "7h" - value: "7 hours" + value: "7h" - dps_val: "8h" - value: "8 hours" + value: "8h" - entity: binary_sensor class: problem category: diagnostic diff --git a/custom_components/tuya_local/devices/yym_805SW_aroma_nightlight.yaml b/custom_components/tuya_local/devices/yym_805SW_aroma_nightlight.yaml index 664ad72c1a..1e62b2ad35 100644 --- a/custom_components/tuya_local/devices/yym_805SW_aroma_nightlight.yaml +++ b/custom_components/tuya_local/devices/yym_805SW_aroma_nightlight.yaml @@ -93,13 +93,13 @@ secondary_entities: type: string mapping: - dps_val: "cancel" - value: "Off" + value: cancel - dps_val: "1" - value: "1 hour" + value: "1h" - dps_val: "3" - value: "3 hours" + value: "3h" - dps_val: "6" - value: "6 hours" + value: "6h" - id: 4 name: remaining optional: true diff --git a/custom_components/tuya_local/devices/zemismart_dpwbs01_sprinklercontroller.yaml b/custom_components/tuya_local/devices/zemismart_dpwbs01_sprinklercontroller.yaml index 2d80a1e759..1bc128c0d7 100644 --- a/custom_components/tuya_local/devices/zemismart_dpwbs01_sprinklercontroller.yaml +++ b/custom_components/tuya_local/devices/zemismart_dpwbs01_sprinklercontroller.yaml @@ -272,6 +272,7 @@ secondary_entities: unit: s - entity: select name: Weather delay + translation_key: timer icon: "mdi:weather-cloudy-clock" category: config dps: @@ -280,13 +281,13 @@ secondary_entities: name: option mapping: - dps_val: "24h" - value: "1 day" + value: "24h" - dps_val: "48h" - value: "2 days" + value: "48h" - dps_val: "72h" - value: "3 days" + value: "72h" - dps_val: cancel - value: "Off" + value: cancel - entity: sensor name: Status icon: "mdi:sprinkler" diff --git a/custom_components/tuya_local/translations/bg.json b/custom_components/tuya_local/translations/bg.json index 54129ae000..82062c38f4 100644 --- a/custom_components/tuya_local/translations/bg.json +++ b/custom_components/tuya_local/translations/bg.json @@ -300,7 +300,48 @@ }, "select": { "timer": { - "name": "Таймер" + "name": "Таймер", + "state": { + "cancel": "Отказ", + "30m": "30 минути", + "1h": "1 час", + "1h30m": "1 час 30 минути", + "2h": "2 часа", + "2h30m": "2 часа 30 минути", + "3h": "3 часа", + "3h30m": "3 часа 30 минути", + "4h": "4 часа", + "4h30m": "4 часа 30 минути", + "5h": "5 часа", + "5h30m": "5 часа 30 минути", + "6h": "6 часа", + "6h30m": "6 часа 30 минути", + "7h": "7 часа", + "7h30m": "7 часа 30 минути", + "8h": "8 часа", + "8h30m": "8 часа 30 минути", + "9h": "9 часа", + "9h30m": "9 часа 30 минути", + "10h": "10 часа", + "11h": "11 часа", + "12h": "12 часа", + "13h": "13 часа", + "14h": "14 часа", + "15h": "15 часа", + "16h": "16 часа", + "17h": "17 часа", + "18h": "18 часа", + "19h": "19 часа", + "20h": "20 часа", + "21h": "21 часа", + "22h": "22 часа", + "23h": "23 часа", + "24h": "24 часа", + "36h": "36 часа", + "48h": "48 часа", + "72h": "72 часа" + } + }, "temperature_unit": { "name": "Температурна единица", diff --git a/custom_components/tuya_local/translations/cz.json b/custom_components/tuya_local/translations/cz.json index 11150a57bf..8cfa61f445 100644 --- a/custom_components/tuya_local/translations/cz.json +++ b/custom_components/tuya_local/translations/cz.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Časovač" + "name": "Časovač", + "state": { + "cancel": "Zrušit", + "30m": "30 minut", + "1h": "1 hodina", + "1h30m": "1 hodina 30 minut", + "2h": "2 hodiny", + "2h30m": "2 hodiny 30 minut", + "3h": "3 hodiny", + "3h30m": "3 hodiny 30 minut", + "4h": "4 hodiny", + "4h30m": "4 hodiny 30 minut", + "5h": "5 hodin", + "5h30m": "5 hodin 30 minut", + "6h": "6 hodin", + "6h30m": "6 hodin 30 minut", + "7h": "7 hodin", + "7h30m": "7 hodin 30 minut", + "8h": "8 hodin", + "8h30m": "8 hodin 30 minut", + "9h": "9 hodin", + "9h30m": "9 hodin 30 minut", + "10h": "10 hodin", + "11h": "11 hodin", + "12h": "12 hodin", + "13h": "13 hodin", + "14h": "14 hodin", + "15h": "15 hodin", + "16h": "16 hodin", + "17h": "17 hodin", + "18h": "18 hodin", + "19h": "19 hodin", + "20h": "20 hodin", + "21h": "21 hodin", + "22h": "22 hodin", + "23h": "23 hodin", + "24h": "24 hodin", + "36h": "36 hodin", + "48h": "48 hodin", + "72h": "72 hodin" + } }, "temperature_unit": { "name": "Jednotka teploty", diff --git a/custom_components/tuya_local/translations/de.json b/custom_components/tuya_local/translations/de.json index 58b4f7fd66..48c484d5d5 100644 --- a/custom_components/tuya_local/translations/de.json +++ b/custom_components/tuya_local/translations/de.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Timer" + "name": "Timer", + "state": { + "cancel": "Abbrechen", + "30m": "30 Minuten", + "1h": "1 Stunde", + "1h30m": "1 Stunde 30 Minuten", + "2h": "2 Stunden", + "2h30m": "2 Stunden 30 Minuten", + "3h": "3 Stunden", + "3h30m": "3 Stunden 30 Minuten", + "4h": "4 Stunden", + "4h30m": "4 Stunden 30 Minuten", + "5h": "5 Stunden", + "5h30m": "5 Stunden 30 Minuten", + "6h": "6 Stunden", + "6h30m": "6 Stunden 30 Minuten", + "7h": "7 Stunden", + "7h30m": "7 Stunden 30 Minuten", + "8h": "8 Stunden", + "8h30m": "8 Stunden 30 Minuten", + "9h": "9 Stunden", + "9h30m": "9 Stunden 30 Minuten", + "10h": "10 Stunden", + "11h": "11 Stunden", + "12h": "12 Stunden" + "13h": "13 Stunden", + "14h": "14 Stunden", + "15h": "15 Stunden", + "16h": "16 Stunden", + "17h": "17 Stunden", + "18h": "18 Stunden", + "19h": "19 Stunden", + "20h": "20 Stunden", + "21h": "21 Stunden", + "22h": "22 Stunden", + "23h": "23 Stunden", + "24h": "24 Stunden", + "36h": "36 Stunden", + "48h": "48 Stunden", + "72h": "72 Stunden" + } }, "temperature_unit": { "name": "Temperatur-Einheit", diff --git a/custom_components/tuya_local/translations/el.json b/custom_components/tuya_local/translations/el.json index 9aca85edd3..92b738d704 100644 --- a/custom_components/tuya_local/translations/el.json +++ b/custom_components/tuya_local/translations/el.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Χρονοδιακόπτης" + "name": "Χρονοδιακόπτης", + "state": { + "cancel": "Ακύρωση", + "30m": "30 λεπτά", + "1h": "1 ώρα", + "1h30m": "1 ώρα 30 λεπτά", + "2h": "2 ώρες", + "2h30m": "2 ώρες 30 λεπτά", + "3h": "3 ώρες", + "3h30m": "3 ώρες 30 λεπτά", + "4h": "4 ώρες", + "4h30m": "4 ώρες 30 λεπτά", + "5h": "5 ώρες", + "5h30m": "5 ώρες 30 λεπτά", + "6h": "6 ώρες", + "6h30m": "6 ώρες 30 λεπτά", + "7h": "7 ώρες", + "7h30m": "7 ώρες 30 λεπτά", + "8h": "8 ώρες", + "8h30m": "8 ώρες 30 λεπτά", + "9h": "9 ώρες", + "9h30m": "9 ώρες 30 λεπτά", + "10h": "10 ώρες", + "11h": "11 ώρες", + "12h": "12 ώρες", + "13h": "13 ώρες", + "14h": "14 ώρες", + "15h": "15 ώρες", + "16h": "16 ώρες", + "17h": "17 ώρες", + "18h": "18 ώρες", + "19h": "19 ώρες", + "20h": "20 ώρες", + "21h": "21 ώρες", + "22h": "22 ώρες", + "23h": "23 ώρες", + "24h": "24 ώρες", + "36h": "36 ώρες", + "48h": "48 ώρες", + "72h": "72 ώρες" + } }, "temperature_unit": { "name": "Μονάδα μέτρησης θερμοκρασίας", diff --git a/custom_components/tuya_local/translations/en.json b/custom_components/tuya_local/translations/en.json index 9cae1831ee..765f521618 100644 --- a/custom_components/tuya_local/translations/en.json +++ b/custom_components/tuya_local/translations/en.json @@ -347,7 +347,47 @@ }, "select": { "timer": { - "name": "Timer" + "name": "Timer", + "state": { + "cancel": "Cancel", + "30m": "30 minutes", + "1h": "1 hour", + "1h30m": "1 hour 30 minutes", + "2h": "2 hours", + "2h30m": "2 hours 30 minutes", + "3h": "3 hours", + "3h30m": "3 hours 30 minutes", + "4h": "4 hours", + "4h30m": "4 hours 30 minutes", + "5h": "5 hours", + "5h30m": "5 hours 30 minutes", + "6h": "6 hours", + "6h30m": "6 hours 30 minutes", + "7h": "7 hours", + "7h30m": "7 hours 30 minutes", + "8h": "8 hours", + "8h30m": "8 hours 30 minutes", + "9h": "9 hours", + "9h30m": "9 hours 30 minutes", + "10h": "10 hours", + "11h": "11 hours", + "12h": "12 hours", + "13h": "13 hours", + "14h": "14 hours", + "15h": "15 hours", + "16h": "16 hours", + "17h": "17 hours", + "18h": "18 hours", + "19h": "19 hours", + "20h": "20 hours", + "21h": "21 hours", + "22h": "22 hours", + "23h": "23 hours", + "24h": "24 hours", + "36h": "36 hours", + "48h": "48 hours", + "72h": "72 hours" + } }, "temperature_unit": { "name": "Temperature unit", diff --git a/custom_components/tuya_local/translations/es.json b/custom_components/tuya_local/translations/es.json index 8df09bc896..894f15b2eb 100644 --- a/custom_components/tuya_local/translations/es.json +++ b/custom_components/tuya_local/translations/es.json @@ -295,7 +295,47 @@ }, "number": { "timer": { - "name": "Temporizador" + "name": "Temporizador", + "state": { + "cancel": "Cancelar", + "30m": "30 minutos", + "1h": "1 hora", + "1h30m": "1 hora 30 minutos", + "2h": "2 horas", + "2h30m": "2 horas 30 minutos", + "3h": "3 horas", + "3h30m": "3 horas 30 minutos", + "4h": "4 horas", + "4h30m": "4 horas 30 minutos", + "5h": "5 horas", + "5h30m": "5 horas 30 minutos", + "6h": "6 horas", + "6h30m": "6 horas 30 minutos", + "7h": "7 horas", + "7h30m": "7 horas 30 minutos", + "8h": "8 horas", + "8h30m": "8 horas 30 minutos", + "9h": "9 horas", + "9h30m": "9 horas 30 minutos", + "10h": "10 horas", + "11h": "11 horas", + "12h": "12 horas", + "13h": "13 horas", + "14h": "14 horas", + "15h": "15 horas", + "16h": "16 horas", + "17h": "17 horas", + "18h": "18 horas", + "19h": "19 horas", + "20h": "20 horas", + "21h": "21 horas", + "22h": "22 horas", + "23h": "23 horas", + "24h": "24 horas", + "36h": "36 horas", + "48h": "48 horas", + "72h": "72 horas" + } } }, "select": { diff --git a/custom_components/tuya_local/translations/fr.json b/custom_components/tuya_local/translations/fr.json index a42f5b091f..a8059d408b 100644 --- a/custom_components/tuya_local/translations/fr.json +++ b/custom_components/tuya_local/translations/fr.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Minuteur" + "name": "Minuteur", + "state": { + "cancel": "Annuler", + "30m": "30 minutes", + "1h": "1 heure", + "1h30m": "1 heure 30 minutes", + "2h": "2 heures", + "2h30m": "2 heures 30 minutes", + "3h": "3 heures", + "3h30m": "3 heures 30 minutes", + "4h": "4 heures", + "4h30m": "4 heures 30 minutes", + "5h": "5 heures", + "5h30m": "5 heures 30 minutes", + "6h": "6 heures", + "6h30m": "6 heures 30 minutes", + "7h": "7 heures", + "7h30m": "7 heures 30 minutes", + "8h": "8 heures", + "8h30m": "8 heures 30 minutes", + "9h": "9 heures", + "9h30m": "9 heures 30 minutes", + "10h": "10 heures", + "11h": "11 heures", + "12h": "12 heures", + "13h": "13 heures", + "14h": "14 heures", + "15h": "15 heures", + "16h": "16 heures", + "17h": "17 heures", + "18h": "18 heures", + "19h": "19 heures", + "20h": "20 heures", + "21h": "21 heures", + "22h": "22 heures", + "23h": "23 heures", + "24h": "24 heures", + "36h": "36 heures", + "48h": "48 heures", + "72h": "72 heures" + } }, "temperature_unit": { "name": "Unité de température", diff --git a/custom_components/tuya_local/translations/hu.json b/custom_components/tuya_local/translations/hu.json index f577f31d63..6553d69533 100644 --- a/custom_components/tuya_local/translations/hu.json +++ b/custom_components/tuya_local/translations/hu.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Időzítő" + "name": "Időzítő", + "state": { + "cancel": "Mégse", + "30m": "30 perc", + "1h": "1 óra", + "1h30m": "1 óra 30 perc", + "2h": "2 óra", + "2h30m": "2 óra 30 perc", + "3h": "3 óra", + "3h30m": "3 óra 30 perc", + "4h": "4 óra", + "4h30m": "4 óra 30 perc", + "5h": "5 óra", + "5h30m": "5 óra 30 perc", + "6h": "6 óra", + "6h30m": "6 óra 30 perc", + "7h": "7 óra", + "7h30m": "7 óra 30 perc", + "8h": "8 óra", + "8h30m": "8 óra 30 perc", + "9h": "9 óra", + "9h30m": "9 óra 30 perc", + "10h": "10 óra", + "11h": "11 óra", + "12h": "12 óra", + "13h": "13 óra", + "14h": "14 óra", + "15h": "15 óra", + "16h": "16 óra", + "17h": "17 óra", + "18h": "18 óra", + "19h": "19 óra", + "20h": "20 óra", + "21h": "21 óra", + "22h": "22 óra", + "23h": "23 óra", + "24h": "24 óra", + "36h": "36 óra", + "48h": "48 óra", + "72h": "72 óra" + } }, "temperature_unit": { "name": "Hőmérséklet mértékegysége", diff --git a/custom_components/tuya_local/translations/id.json b/custom_components/tuya_local/translations/id.json index c49e0c77f3..7d3203bcd6 100644 --- a/custom_components/tuya_local/translations/id.json +++ b/custom_components/tuya_local/translations/id.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Pengatur waktu" + "name": "Pengatur waktu", + "state": { + "cancel": "Batal", + "30m": "30 menit", + "1h": "1 jam", + "1h30m": "1 jam 30 menit", + "2h": "2 jam", + "2h30m": "2 jam 30 menit", + "3h": "3 jam", + "3h30m": "3 jam 30 menit", + "4h": "4 jam", + "4h30m": "4 jam 30 menit", + "5h": "5 jam", + "5h30m": "5 jam 30 menit", + "6h": "6 jam", + "6h30m": "6 jam 30 menit", + "7h": "7 jam", + "7h30m": "7 jam 30 menit", + "8h": "8 jam", + "8h30m": "8 jam 30 menit", + "9h": "9 jam", + "9h30m": "9 jam 30 menit", + "10h": "10 jam", + "11h": "11 jam", + "12h": "12 jam", + "13h": "13 jam", + "14h": "14 jam", + "15h": "15 jam", + "16h": "16 jam", + "17h": "17 jam", + "18h": "18 jam", + "19h": "19 jam", + "20h": "20 jam", + "21h": "21 jam", + "22h": "22 jam", + "23h": "23 jam", + "24h": "24 jam", + "36h": "36 jam", + "48h": "48 jam", + "72h": "72 jam" + } }, "temperature_unit": { "name": "Satuan suhu", diff --git a/custom_components/tuya_local/translations/it.json b/custom_components/tuya_local/translations/it.json index 3569b6d58c..e92abf7eb8 100644 --- a/custom_components/tuya_local/translations/it.json +++ b/custom_components/tuya_local/translations/it.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Timer" + "name": "Timer", + "state": { + "cancel": "Annulla", + "30m": "30 minuti", + "1h": "1 ora", + "1h30m": "1 ora 30 minuti", + "2h": "2 ore", + "2h30m": "2 ore 30 minuti", + "3h": "3 ore", + "3h30m": "3 ore 30 minuti", + "4h": "4 ore", + "4h30m": "4 ore 30 minuti", + "5h": "5 ore", + "5h30m": "5 ore 30 minuti", + "6h": "6 ore", + "6h30m": "6 ore 30 minuti", + "7h": "7 ore", + "7h30m": "7 ore 30 minuti", + "8h": "8 ore", + "8h30m": "8 ore 30 minuti", + "9h": "9 ore", + "9h30m": "9 ore 30 minuti", + "10h": "10 ore", + "11h": "11 ore", + "12h": "12 ore", + "13h": "13 ore", + "14h": "14 ore", + "15h": "15 ore", + "16h": "16 ore", + "17h": "17 ore", + "18h": "18 ore", + "19h": "19 ore", + "20h": "20 ore", + "21h": "21 ore", + "22h": "22 ore", + "23h": "23 ore", + "24h": "24 ore", + "36h": "36 ore", + "48h": "48 ore", + "72h": "72 ore" + } }, "temperature_unit": { "name": "Unità di temperatura", diff --git a/custom_components/tuya_local/translations/ja.json b/custom_components/tuya_local/translations/ja.json index e59043021b..a14a01b9de 100644 --- a/custom_components/tuya_local/translations/ja.json +++ b/custom_components/tuya_local/translations/ja.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "タイマー" + "name": "タイマー", + "state": { + "cancel": "キャンセル", + "30m": "30分", + "1h": "1時間", + "1h30m": "1時間30分", + "2h": "2時間", + "2h30m": "2時間30分", + "3h": "3時間", + "3h30m": "3時間30分", + "4h": "4時間", + "4h30m": "4時間30分", + "5h": "5時間", + "5h30m": "5時間30分", + "6h": "6時間", + "6h30m": "6時間30分", + "7h": "7時間", + "7h30m": "7時間30分", + "8h": "8時間", + "8h30m": "8時間30分", + "9h": "9時間", + "9h30m": "9時間30分", + "10h": "10時間", + "11h": "11時間", + "12h": "12時間", + "13h": "13時間", + "14h": "14時間", + "15h": "15時間", + "16h": "16時間", + "17h": "17時間", + "18h": "18時間", + "19h": "19時間", + "20h": "20時間", + "21h": "21時間", + "22h": "22時間", + "23h": "23時間", + "24h": "24時間", + "36h": "36時間", + "48h": "48時間", + "72h": "72時間" + } }, "temperature_unit": { "name": "温度単位", diff --git a/custom_components/tuya_local/translations/no-NB.json b/custom_components/tuya_local/translations/no-NB.json index c5f817f025..1949d99260 100644 --- a/custom_components/tuya_local/translations/no-NB.json +++ b/custom_components/tuya_local/translations/no-NB.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Timer" + "name": "Timer", + "state": { + "cancel": "Avbryt", + "30m": "30 minutter", + "1h": "1 time", + "1h30m": "1 time 30 minutter", + "2h": "2 timer", + "2h30m": "2 timer 30 minutter", + "3h": "3 timer", + "3h30m": "3 timer 30 minutter", + "4h": "4 timer", + "4h30m": "4 timer 30 minutter", + "5h": "5 timer", + "5h30m": "5 timer 30 minutter", + "6h": "6 timer", + "6h30m": "6 timer 30 minutter", + "7h": "7 timer", + "7h30m": "7 timer 30 minutter", + "8h": "8 timer", + "8h30m": "8 timer 30 minutter", + "9h": "9 timer", + "9h30m": "9 timer 30 minutter", + "10h": "10 timer", + "11h": "11 timer", + "12h": "12 timer", + "13h": "13 timer", + "14h": "14 timer", + "15h": "15 timer", + "16h": "16 timer", + "17h": "17 timer", + "18h": "18 timer", + "19h": "19 timer", + "20h": "20 timer", + "21h": "21 timer", + "22h": "22 timer", + "23h": "23 timer", + "24h": "24 timer", + "36h": "36 timer", + "48h": "48 timer", + "72h": "72 timer" + } }, "temperature_unit": { "name": "Temperaturenhet", diff --git a/custom_components/tuya_local/translations/pl.json b/custom_components/tuya_local/translations/pl.json index 401631fa4e..01de8e7824 100644 --- a/custom_components/tuya_local/translations/pl.json +++ b/custom_components/tuya_local/translations/pl.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Regulator czasowy" + "name": "Regulator czasowy", + "state": { + "cancel": "Anuluj", + "30m": "30 minut", + "1h": "1 godzina", + "1h30m": "1 godzina 30 minut", + "2h": "2 godziny", + "2h30m": "2 godziny 30 minut", + "3h": "3 godziny", + "3h30m": "3 godziny 30 minut", + "4h": "4 godziny", + "4h30m": "4 godziny 30 minut", + "5h": "5 godzin", + "5h30m": "5 godzin 30 minut", + "6h": "6 godzin", + "6h30m": "6 godzin 30 minut", + "7h": "7 godzin", + "7h30m": "7 godzin 30 minut", + "8h": "8 godzin", + "8h30m": "8 godzin 30 minut", + "9h": "9 godzin", + "9h30m": "9 godzin 30 minut", + "10h": "10 godzin", + "11h": "11 godzin", + "12h": "12 godzin", + "13h": "13 godzin", + "14h": "14 godzin", + "15h": "15 godzin", + "16h": "16 godzin", + "17h": "17 godzin", + "18h": "18 godzin", + "19h": "19 godzin", + "20h": "20 godzin", + "21h": "21 godzin", + "22h": "22 godziny", + "23h": "23 godziny", + "24h": "24 godziny", + "36h": "36 godzin", + "48h": "48 godzin", + "72h": "72 godziny" + } }, "temperature_unit": { "name": "Jednostka temperatury", diff --git a/custom_components/tuya_local/translations/pt-BR.json b/custom_components/tuya_local/translations/pt-BR.json index 9075db9e88..38b654d702 100644 --- a/custom_components/tuya_local/translations/pt-BR.json +++ b/custom_components/tuya_local/translations/pt-BR.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Cronômetro" + "name": "Cronômetro", + "state": { + "cancel": "Cancelar", + "30m": "30 minutos", + "1h": "1 hora", + "1h30m": "1 hora e 30 minutos", + "2h": "2 horas", + "2h30m": "2 horas e 30 minutos", + "3h": "3 horas", + "3h30m": "3 horas e 30 minutos", + "4h": "4 horas", + "4h30m": "4 horas e 30 minutos", + "5h": "5 horas", + "5h30m": "5 horas e 30 minutos", + "6h": "6 horas", + "6h30m": "6 horas e 30 minutos", + "7h": "7 horas", + "7h30m": "7 horas e 30 minutos", + "8h": "8 horas", + "8h30m": "8 horas e 30 minutos", + "9h": "9 horas", + "9h30m": "9 horas e 30 minutos", + "10h": "10 horas", + "11h": "11 horas", + "12h": "12 horas", + "13h": "13 horas", + "14h": "14 horas", + "15h": "15 horas", + "16h": "16 horas", + "17h": "17 horas", + "18h": "18 horas", + "19h": "19 horas", + "20h": "20 horas", + "21h": "21 horas", + "22h": "22 horas", + "23h": "23 horas", + "24h": "24 horas", + "36h": "36 horas", + "48h": "48 horas", + "72h": "72 horas" + } }, "temperature_unit": { "name": "Unidade de temperatura", diff --git a/custom_components/tuya_local/translations/ru.json b/custom_components/tuya_local/translations/ru.json index e7ad4e0ebb..2f86c5d580 100644 --- a/custom_components/tuya_local/translations/ru.json +++ b/custom_components/tuya_local/translations/ru.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Таймер" + "name": "Таймер", + "state": { + "cancel": "Отмена", + "30m": "30 минут", + "1h": "1 час", + "1h30m": "1 час 30 минут", + "2h": "2 часа", + "2h30m": "2 часа 30 минут", + "3h": "3 часа", + "3h30m": "3 часа 30 минут", + "4h": "4 часа", + "4h30m": "4 часа 30 минут", + "5h": "5 часов", + "5h30m": "5 часов 30 минут", + "6h": "6 часов", + "6h30m": "6 часов 30 минут", + "7h": "7 часов", + "7h30m": "7 часов 30 минут", + "8h": "8 часов", + "8h30m": "8 часов 30 минут", + "9h": "9 часов", + "9h30m": "9 часов 30 минут", + "10h": "10 часов", + "11h": "11 часов", + "12h": "12 часов", + "13h": "13 часов", + "14h": "14 часов", + "15h": "15 часов", + "16h": "16 часов", + "17h": "17 часов", + "18h": "18 часов", + "19h": "19 часов", + "20h": "20 часов", + "21h": "21 час", + "22h": "22 часа", + "23h": "23 часа", + "24h": "24 часа", + "36h": "36 часов", + "48h": "48 часов", + "72h": "72 часа" + } }, "temperature_unit": { "name": "Единица измерения температуры", diff --git a/custom_components/tuya_local/translations/uk.json b/custom_components/tuya_local/translations/uk.json index fa579464d0..bb40a61efb 100644 --- a/custom_components/tuya_local/translations/uk.json +++ b/custom_components/tuya_local/translations/uk.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "Таймер" + "name": "Таймер", + "state": { + "cancel": "Скасувати", + "30m": "30 хвилин", + "1h": "1 година", + "1h30m": "1 година 30 хвилин", + "2h": "2 години", + "2h30m": "2 години 30 хвилин", + "3h": "3 години", + "3h30m": "3 години 30 хвилин", + "4h": "4 години", + "4h30m": "4 години 30 хвилин", + "5h": "5 годин", + "5h30m": "5 годин 30 хвилин", + "6h": "6 годин", + "6h30m": "6 годин 30 хвилин", + "7h": "7 годин", + "7h30m": "7 годин 30 хвилин", + "8h": "8 годин", + "8h30m": "8 годин 30 хвилин", + "9h": "9 годин", + "9h30m": "9 годин 30 хвилин", + "10h": "10 годин", + "11h": "11 годин", + "12h": "12 годин", + "13h": "13 годин", + "14h": "14 годин", + "15h": "15 годин", + "16h": "16 годин", + "17h": "17 годин", + "18h": "18 годин", + "19h": "19 годин", + "20h": "20 годин", + "21h": "21 годин", + "22h": "22 годин", + "23h": "23 годин", + "24h": "24 години", + "36h": "36 годин", + "48h": "48 годин", + "72h": "72 години" + } }, "temperature_unit": { "name": "Температурна одиниця", diff --git a/custom_components/tuya_local/translations/ur.json b/custom_components/tuya_local/translations/ur.json index c9b3ad08a7..62bfb9fce1 100644 --- a/custom_components/tuya_local/translations/ur.json +++ b/custom_components/tuya_local/translations/ur.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "ٹائمر" + "name": "ٹائمر", + "state": { + "cancel": "منسوخ کریں", + "30m": "30 منٹ", + "1h": "1 گھنٹہ", + "1h30m": "1 گھنٹہ 30 منٹ", + "2h": "2 گھنٹے", + "2h30m": "2 گھنٹے 30 منٹ", + "3h": "3 گھنٹے", + "3h30m": "3 گھنٹے 30 منٹ", + "4h": "4 گھنٹے", + "4h30m": "4 گھنٹے 30 منٹ", + "5h": "5 گھنٹے", + "5h30m": "5 گھنٹے 30 منٹ", + "6h": "6 گھنٹے", + "6h30m": "6 گھنٹے 30 منٹ", + "7h": "7 گھنٹے", + "7h30m": "7 گھنٹے 30 منٹ", + "8h": "8 گھنٹے", + "8h30m": "8 گھنٹے 30 منٹ", + "9h": "9 گھنٹے", + "9h30m": "9 گھنٹے 30 منٹ", + "10h": "10 گھنٹے", + "11h": "11 گھنٹے", + "12h": "12 گھنٹے", + "13h": "13 گھنٹے", + "14h": "14 گھنٹے", + "15h": "15 گھنٹے", + "16h": "16 گھنٹے", + "17h": "17 گھنٹے", + "18h": "18 گھنٹے", + "19h": "19 گھنٹے", + "20h": "20 گھنٹے", + "21h": "21 گھنٹے", + "22h": "22 گھنٹے", + "23h": "23 گھنٹے", + "24h": "24 گھنٹے", + "36h": "36 گھنٹے", + "48h": "48 گھنٹے", + "72h": "72 گھنٹے" + } }, "temperature_unit": { "name": "درجہ حرارت یونٹ", diff --git a/custom_components/tuya_local/translations/zh-Hans.json b/custom_components/tuya_local/translations/zh-Hans.json index 6a334e5123..17860c5ea6 100644 --- a/custom_components/tuya_local/translations/zh-Hans.json +++ b/custom_components/tuya_local/translations/zh-Hans.json @@ -347,7 +347,47 @@ }, "select": { "timer": { - "name": "计时器" + "name": "计时器", + "state": { + "cancel": "取消", + "30m": "30分钟", + "1h": "1小时", + "1h30m": "1小时30分钟", + "2h": "2小时", + "2h30m": "2小时30分钟", + "3h": "3小时", + "3h30m": "3小时30分钟", + "4h": "4小时", + "4h30m": "4小时30分钟", + "5h": "5小时", + "5h30m": "5小时30分钟", + "6h": "6小时", + "6h30m": "6小时30分钟", + "7h": "7小时", + "7h30m": "7小时30分钟", + "8h": "8小时", + "8h30m": "8小时30分钟", + "9h": "9小时", + "9h30m": "9小时30分钟", + "10h": "10小时", + "11h": "11小时", + "12h": "12小时", + "13h": "13小时", + "14h": "14小时", + "15h": "15小时", + "16h": "16小时", + "17h": "17小时", + "18h": "18小时", + "19h": "19小时", + "20h": "20小时", + "21h": "21小时", + "22h": "22小时", + "23h": "23小时", + "24h": "24小时", + "36h": "36小时", + "48h": "48小时", + "72h": "72小时" + } }, "temperature_unit": { "name": "温度单位", diff --git a/custom_components/tuya_local/translations/zh-Hant.json b/custom_components/tuya_local/translations/zh-Hant.json index 12039a7d68..9aee89ea0e 100644 --- a/custom_components/tuya_local/translations/zh-Hant.json +++ b/custom_components/tuya_local/translations/zh-Hant.json @@ -300,7 +300,47 @@ }, "select": { "timer": { - "name": "計時器" + "name": "計時器", + "state": { + "cancel": "取消", + "30m": "30分鐘", + "1h": "1小時", + "1h30m": "1小時30分鐘", + "2h": "2小時", + "2h30m": "2小時30分鐘", + "3h": "3小時", + "3h30m": "3小時30分鐘", + "4h": "4小時", + "4h30m": "4小時30分鐘", + "5h": "5小時", + "5h30m": "5小時30分鐘", + "6h": "6小時", + "6h30m": "6小時30分鐘", + "7h": "7小時", + "7h30m": "7小時30分鐘", + "8h": "8小時", + "8h30m": "8小時30分鐘", + "9h": "9小時", + "9h30m": "9小時30分鐘", + "10h": "10小時", + "11h": "11小時", + "12h": "12小時", + "13h": "13小時", + "14h": "14小時", + "15h": "15小時", + "16h": "16小時", + "17h": "17小時", + "18h": "18小時", + "19h": "19小時", + "20h": "20小時", + "21h": "21小時", + "22h": "22小時", + "23h": "23小時", + "24h": "24小時", + "36h": "36小時", + "48h": "48小時", + "72h": "72小時" + } }, "temperature_unit": { "name": "溫度單位", diff --git a/tests/devices/test_arlec_fan.py b/tests/devices/test_arlec_fan.py index 4ee32cd9b4..65370daa89 100644 --- a/tests/devices/test_arlec_fan.py +++ b/tests/devices/test_arlec_fan.py @@ -29,10 +29,10 @@ def setUp(self): TIMER_DPS, self.entities["select_timer"], { - "off": "Off", - "2hour": "2 hours", - "4hour": "4 hours", - "8hour": "8 hours", + "off": "cancel", + "2hour": "2h", + "4hour": "4h", + "8hour": "8h", }, ) self.mark_secondary(["select_timer"]) diff --git a/tests/devices/test_arlec_fan_light.py b/tests/devices/test_arlec_fan_light.py index bb0995b4c0..a8173d3960 100644 --- a/tests/devices/test_arlec_fan_light.py +++ b/tests/devices/test_arlec_fan_light.py @@ -35,10 +35,10 @@ def setUp(self): TIMER_DPS, self.entities["select_timer"], { - "off": "Off", - "2hour": "2 hours", - "4hour": "4 hours", - "8hour": "8 hours", + "off": "cancel", + "2hour": "2h", + "4hour": "4h", + "8hour": "8h", }, ) self.mark_secondary(["select_timer"]) diff --git a/tests/devices/test_avatto_blinds.py b/tests/devices/test_avatto_blinds.py index e4c9b132a4..1344ee082f 100644 --- a/tests/devices/test_avatto_blinds.py +++ b/tests/devices/test_avatto_blinds.py @@ -49,11 +49,11 @@ def setUp(self): TIMER_DP, self.entities.get("select_timer"), { - "cancel": "Off", - "1": "1 hour", - "2": "2 hours", - "3": "3 hours", - "4": "4 hours", + "cancel": "cancel", + "1": "1h", + "2": "2h", + "3": "3h", + "4": "4h", }, ) self.mark_secondary( diff --git a/tests/devices/test_betterlife_bl1500_heater.py b/tests/devices/test_betterlife_bl1500_heater.py index 83eac9d6ae..0208d2edc9 100644 --- a/tests/devices/test_betterlife_bl1500_heater.py +++ b/tests/devices/test_betterlife_bl1500_heater.py @@ -41,19 +41,19 @@ def setUp(self): TIMER_DPS, self.entities.get("select_timer"), { - "0": "Off", - "1": "1 hour", - "2": "2 hours", - "3": "3 hours", - "4": "4 hours", - "5": "5 hours", - "6": "6 hours", - "7": "7 hours", - "8": "8 hours", - "9": "9 hours", - "10": "10 hours", - "11": "11 hours", - "12": "12 hours", + "0": "cancel", + "1": "1h", + "2": "2h", + "3": "3h", + "4": "4h", + "5": "5h", + "6": "6h", + "7": "7h", + "8": "8h", + "9": "9h", + "10": "10h", + "11": "11h", + "12": "12h", }, ) self.setUpBasicSensor( diff --git a/tests/devices/test_blitzwolf_bsh2_humidifier.py b/tests/devices/test_blitzwolf_bsh2_humidifier.py index 2147c67293..5ca60ec4fa 100644 --- a/tests/devices/test_blitzwolf_bsh2_humidifier.py +++ b/tests/devices/test_blitzwolf_bsh2_humidifier.py @@ -41,13 +41,13 @@ def setUp(self): "name": "select_timer", "dps": TIMER_DP, "options": { - "cancel": "Off", - "2h": "2 hours", - "4h": "4 hours", - "6h": "6 hours", - "8h": "8 hours", - "10h": "10 hours", - "12h": "12 hours", + "cancel": "cancel", + "2h": "2h", + "4h": "4h", + "6h": "6h", + "8h": "8h", + "10h": "10h", + "12h": "12h", }, }, ] diff --git a/tests/devices/test_eanons_humidifier.py b/tests/devices/test_eanons_humidifier.py index c6af02718a..65891f6a59 100644 --- a/tests/devices/test_eanons_humidifier.py +++ b/tests/devices/test_eanons_humidifier.py @@ -42,19 +42,19 @@ def setUp(self): TIMERHR_DPS, self.entities.get("select_timer"), { - "cancel": "Off", - "1": "1 hour", - "2": "2 hours", - "3": "3 hours", - "4": "4 hours", - "5": "5 hours", - "6": "6 hours", - "7": "7 hours", - "8": "8 hours", - "9": "9 hours", - "10": "10 hours", - "11": "11 hours", - "12": "12 hours", + "cancel": "cancel", + "1": "1h", + "2": "2h", + "3": "3h", + "4": "4h", + "5": "5h", + "6": "6h", + "7": "7h", + "8": "8h", + "9": "9h", + "10": "10h", + "11": "11h", + "12": "12h", }, ) self.setUpBasicSensor( diff --git a/tests/devices/test_essentials_purifier.py b/tests/devices/test_essentials_purifier.py index add3c57a31..a73e293a9c 100644 --- a/tests/devices/test_essentials_purifier.py +++ b/tests/devices/test_essentials_purifier.py @@ -62,10 +62,10 @@ def setUp(self): "dps": TIMER_DP, "name": "select_timer", "options": { - "cancel": "Off", - "2h": "2 hours", - "4h": "4 hours", - "8h": "8 hours", + "cancel": "cancel", + "2h": "2h", + "4h": "4h", + "8h": "8h", }, }, { diff --git a/tests/devices/test_himox_h05_purifier.py b/tests/devices/test_himox_h05_purifier.py index 74f4e83c27..98311fe966 100644 --- a/tests/devices/test_himox_h05_purifier.py +++ b/tests/devices/test_himox_h05_purifier.py @@ -46,11 +46,11 @@ def setUp(self): TIMER_DPS, self.entities.get("select_timer"), { - "cancel": "Off", - "1h": "1 hour", - "2h": "2 hours", - "4h": "4 hours", - "8h": "8 hours", + "cancel": "cancel", + "1h": "1h", + "2h": "2h", + "4h": "4h", + "8h": "8h", }, ) self.setUpMultiSensors( diff --git a/tests/devices/test_himox_h06_purifier.py b/tests/devices/test_himox_h06_purifier.py index fd4e803196..482d95ca3c 100644 --- a/tests/devices/test_himox_h06_purifier.py +++ b/tests/devices/test_himox_h06_purifier.py @@ -49,9 +49,9 @@ def setUp(self): "dps": TIMER_DPS, "name": "select_timer", "options": { - "cancel": "Off", - "4h": "4 hours", - "8h": "8 hours", + "cancel": "cancel", + "4h": "4h", + "8h": "8h", }, }, { diff --git a/tests/devices/test_immax_neo_light_vento.py b/tests/devices/test_immax_neo_light_vento.py index 05872fbbc0..2c4bdb7cde 100644 --- a/tests/devices/test_immax_neo_light_vento.py +++ b/tests/devices/test_immax_neo_light_vento.py @@ -43,11 +43,11 @@ def setUp(self): TIMER_DPS, self.stop_timer, { - "off": "Off", - "1hour": "1 hour", - "2hour": "2 hours", - "4hour": "4 hours", - "8hour": "8 hours", + "off": "cancel", + "1hour": "1h", + "2hour": "2h", + "4hour": "4h", + "8hour": "8h", }, ) self.mark_secondary(["select_timer"]) @@ -107,7 +107,7 @@ async def test_set_direction_reverse(self): def test_set_stop_timer(self): self.dps[TIMER_DPS] = "2hour" - self.assertEqual(self.stop_timer.current_option, "2 hours") + self.assertEqual(self.stop_timer.current_option, "2h") async def test_set_speed(self): async with assert_device_properties_set(self.fan._device, {SPEED_DPS: 2}): diff --git a/tests/devices/test_nashone_mts700wb_thermostat.py b/tests/devices/test_nashone_mts700wb_thermostat.py index 0bb9ec6245..d03856e91f 100644 --- a/tests/devices/test_nashone_mts700wb_thermostat.py +++ b/tests/devices/test_nashone_mts700wb_thermostat.py @@ -63,8 +63,8 @@ def setUp(self): TIMER_DPS, self.entities.get("select_timer"), { - "cancel": "off", - "1h": "1 hour", + "cancel": "cancel", + "1h": "1h", }, ) self.setUpBasicSensor( diff --git a/tests/devices/test_poiema_one_purifier.py b/tests/devices/test_poiema_one_purifier.py index dedd1b3ff7..0c59260e7f 100644 --- a/tests/devices/test_poiema_one_purifier.py +++ b/tests/devices/test_poiema_one_purifier.py @@ -46,12 +46,12 @@ def setUp(self): TIMER_DPS, self.entities.get("select_timer"), { - "cancel": "off", - "1h": "1 hour", - "2h": "2 hours", - "3h": "3 hours", - "4h": "4 hours", - "5h": "5 hours", + "cancel": "cancel", + "1h": "1h", + "2h": "2h", + "3h": "3h", + "4h": "4h", + "5h": "5h", }, ) self.setUpMultiSensors( diff --git a/tests/devices/test_stirling_fs140dc_fan.py b/tests/devices/test_stirling_fs140dc_fan.py index 6cd13e07bc..773ed855c8 100644 --- a/tests/devices/test_stirling_fs140dc_fan.py +++ b/tests/devices/test_stirling_fs140dc_fan.py @@ -118,37 +118,37 @@ def test_timer_options(self): self.assertCountEqual( self.timer.options, [ - "Off", - "30 minutes", - "1 hour", - "1.5 hours", - "2 hours", - "2.5 hours", - "3 hours", - "3.5 hours", - "4 hours", - "4.5 hours", - "5 hours", - "5.5 hours", - "6 hours", - "6.5 hours", - "7 hours", - "7.5 hours", - "8 hours", - "8.5 hours", - "9 hours", - "9.5 hours", - "10 hours", + "cancel", + "30m", + "1h", + "1h30m", + "2h", + "2h30m", + "3h", + "3h30m", + "4h", + "4h30m", + "5h", + "5h30m", + "6h", + "6h30m", + "7h", + "7h30m", + "8h", + "8h30m", + "9h", + "9h30m", + "10h", ], ) def test_timer_current_option(self): self.dps[TIMER_DPS] = "0_5" - self.assertEqual(self.timer.current_option, "30 minutes") + self.assertEqual(self.timer.current_option, "30m") async def test_select_option(self): async with assert_device_properties_set( self.timer._device, {TIMER_DPS: "4_0"}, ): - await self.timer.async_select_option("4 hours") + await self.timer.async_select_option("4h") diff --git a/tests/devices/test_vork_vk6067aw_purifier.py b/tests/devices/test_vork_vk6067aw_purifier.py index 8f58206d29..537ff3dc6c 100644 --- a/tests/devices/test_vork_vk6067aw_purifier.py +++ b/tests/devices/test_vork_vk6067aw_purifier.py @@ -51,9 +51,9 @@ def setUp(self): TIMER_DPS, self.entities.get("select_timer"), { - "cancel": "off", - "1h": "1 hour", - "2h": "2 hours", + "cancel": "cancel", + "1h": "1h", + "2h": "2h", }, ) self.setUpBasicButton( diff --git a/tests/devices/test_wetair_wch750_heater.py b/tests/devices/test_wetair_wch750_heater.py index 29647e8d4d..f9b5f2d474 100644 --- a/tests/devices/test_wetair_wch750_heater.py +++ b/tests/devices/test_wetair_wch750_heater.py @@ -58,31 +58,31 @@ def setUp(self): TIMER_DPS, self.entities.get("select_timer"), { - "0h": "Off", - "1h": "1 hour", - "2h": "2 hours", - "3h": "3 hours", - "4h": "4 hours", - "5h": "5 hours", - "6h": "6 hours", - "7h": "7 hours", - "8h": "8 hours", - "9h": "9 hours", - "10h": "10 hours", - "11h": "11 hours", - "12h": "12 hours", - "13h": "13 hours", - "14h": "14 hours", - "15h": "15 hours", - "16h": "16 hours", - "17h": "17 hours", - "18h": "18 hours", - "19h": "19 hours", - "20h": "20 hours", - "21h": "21 hours", - "22h": "22 hours", - "23h": "23 hours", - "24h": "24 hours", + "0h": "cancel", + "1h": "1h", + "2h": "2h", + "3h": "3h", + "4h": "4h", + "5h": "5h", + "6h": "6h", + "7h": "7h", + "8h": "8h", + "9h": "9h", + "10h": "10h", + "11h": "11h", + "12h": "12h", + "13h": "13h", + "14h": "14h", + "15h": "15h", + "16h": "16h", + "17h": "17h", + "18h": "18h", + "19h": "19h", + "20h": "20h", + "21h": "21h", + "22h": "22h", + "23h": "23h", + "24h": "24h", }, ) self.setUpBasicSensor( diff --git a/tests/devices/test_wilfa_haze_hu400bc_humidifier.py b/tests/devices/test_wilfa_haze_hu400bc_humidifier.py index bf24e9fd6e..748232cde8 100644 --- a/tests/devices/test_wilfa_haze_hu400bc_humidifier.py +++ b/tests/devices/test_wilfa_haze_hu400bc_humidifier.py @@ -71,19 +71,19 @@ def setUp(self): "dps": TIMER_DPS, "name": "select_timer", "options": { - "cancel": "Off", - "1": "1 hour", - "2": "2 hours", - "3": "3 hours", - "4": "4 hours", - "5": "5 hours", - "6": "6 hours", - "7": "7 hours", - "8": "8 hours", - "9": "9 hours", - "10": "10 hours", - "11": "11 hours", - "12": "12 hours", + "cancel": "cancel", + "1": "1h", + "2": "2h", + "3": "3h", + "4": "4h", + "5": "5h", + "6": "6h", + "7": "7h", + "8": "8h", + "9": "9h", + "10": "10h", + "11": "11h", + "12": "12h", }, }, {