From 4e9cb5c0081dce2efac20e62e33ad48be1cb0eee Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 2 Mar 2024 10:26:47 +0900 Subject: [PATCH] Temperature unit selects: hassfest requires lower case translation keys Convert Celsius and Fahrenheit states to lower case to match the hassfest expectation. This is undocumented and does not really make sense for state values, which can be anything, but going with the flow here. Issue #1579 --- .../tuya_local/devices/advancedfires_1500_fireplace.yaml | 4 ++-- .../arlec_pa1123bkha_portable_air_conditioner.yaml | 4 ++-- .../tuya_local/devices/arlec_thermostat_smartplug.yaml | 4 ++-- custom_components/tuya_local/devices/becool_heatpump.yaml | 4 ++-- .../tuya_local/devices/beok_tr8b_thermostat.yaml | 4 ++-- .../tuya_local/devices/beok_tr9b_thermostat.yaml | 4 ++-- .../tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml | 5 ++--- .../tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml | 4 ++-- .../tuya_local/devices/brade_mc6_thermostat.yaml | 4 ++-- custom_components/tuya_local/devices/carson_cb.yaml | 4 ++-- .../tuya_local/devices/della_airconditioner.yaml | 4 ++-- .../tuya_local/devices/duux_blizzard_portable_aircon.yaml | 4 ++-- .../tuya_local/devices/eberg_cooly_c35hd.yaml | 4 ++-- .../tuya_local/devices/electric_panel_heater.yaml | 4 ++-- .../tuya_local/devices/electriq_airflex15w_heatpump.yaml | 4 ++-- .../devices/electriq_ecosilent14hpw_aircon.yaml | 4 ++-- .../tuya_local/devices/em3378_weather_station.yaml | 4 ++-- .../tuya_local/devices/etop_ch7100_thermostat.yaml | 4 ++-- .../tuya_local/devices/etop_fcu_thermostat.yaml | 4 ++-- .../tuya_local/devices/evotherm_eti_heatpump.yaml | 4 ++-- .../tuya_local/devices/heatstorm_hs6000gc_heater.yaml | 4 ++-- .../devices/hombli_thermostatic_radiator_valve.yaml | 8 ++++---- .../tuya_local/devices/hysen_hy08we2_thermostat.yaml | 4 ++-- .../tuya_local/devices/inkbird_bbq4t_thermometer.yaml | 4 ++-- .../tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml | 4 ++-- .../tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml | 4 ++-- .../tuya_local/devices/inkbird_itc306a_thermostat.yaml | 4 ++-- .../tuya_local/devices/inkbird_itc308_thermostat.yaml | 4 ++-- .../tuya_local/devices/inkbird_sousvide_cooker.yaml | 4 ++-- .../devices/inventor_tokenslegend_airconditioner.yaml | 4 ++-- .../tuya_local/devices/jiahong_et72w_thermostat.yaml | 5 ++--- .../devices/kogan_kawfpac12ya_airconditioner.yaml | 4 ++-- .../devices/kogan_kawfpac16pya_airconditioner.yaml | 4 ++-- .../tuya_local/devices/madimack_eco_heatpump.yaml | 4 ++-- custom_components/tuya_local/devices/me80_thermostat.yaml | 4 ++-- .../tuya_local/devices/minco_mh1823d_thermostat.yaml | 4 ++-- .../tuya_local/devices/modernflames_orion_fireplace.yaml | 4 ++-- .../tuya_local/devices/mrc_magnum_floorheater.yaml | 4 ++-- .../tuya_local/devices/neo_coolcam_siren.yaml | 4 ++-- .../tuya_local/devices/pgst_climate_sensor.yaml | 4 ++-- .../tuya_local/devices/poolex_arctic_action.yaml | 4 ++-- .../tuya_local/devices/poolex_q7_heatpump.yaml | 4 ++-- .../tuya_local/devices/princess_panel_heater.yaml | 4 ++-- .../tuya_local/devices/rotenso_ronir35wi_heatpump.yaml | 4 ++-- .../tuya_local/devices/royal_airconditioner.yaml | 4 ++-- .../tuya_local/devices/salcar_t9w_thermostat.yaml | 4 ++-- .../tuya_local/devices/saswell_t29utk_thermostat.yaml | 4 ++-- .../tuya_local/devices/sencor_air_conditioner.yaml | 4 ++-- .../tuya_local/devices/setti_czajnik_kettle.yaml | 4 ++-- .../tuya_local/devices/suntec_coolfix_airconditioner.yaml | 4 ++-- .../tuya_local/devices/t5e_wf_thermostat.yaml | 4 ++-- .../tuya_local/devices/tesla_airconditioner.yaml | 4 ++-- .../tuya_local/devices/th05_temp_humidity_sensor.yaml | 4 ++-- .../devices/th08_temperature_and_humidity_sensor.yaml | 4 ++-- .../tuya_local/devices/th16_temp_humidity_sensor.yaml | 4 ++-- .../tuya_local/devices/touchstone_sideline_fireplace.yaml | 4 ++-- .../devices/tuya_000004rime_weather_station.yaml | 4 ++-- .../tuya_local/devices/tyte_d1_thermostat.yaml | 4 ++-- .../tuya_local/devices/ultenic_air_fryer.yaml | 4 ++-- custom_components/tuya_local/devices/vivax_heatpump.yaml | 4 ++-- custom_components/tuya_local/devices/weeket_kettle.yaml | 4 ++-- .../tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml | 4 ++-- .../tuya_local/devices/zigbee_climate_alarm.yaml | 4 ++-- custom_components/tuya_local/translations/bg.json | 4 ++-- custom_components/tuya_local/translations/cz.json | 4 ++-- custom_components/tuya_local/translations/en.json | 4 ++-- custom_components/tuya_local/translations/es.json | 4 ++-- custom_components/tuya_local/translations/fr.json | 4 ++-- custom_components/tuya_local/translations/hu.json | 4 ++-- custom_components/tuya_local/translations/id.json | 5 +++-- custom_components/tuya_local/translations/it.json | 4 ++-- custom_components/tuya_local/translations/no-NB.json | 4 ++-- custom_components/tuya_local/translations/pl.json | 5 +++-- custom_components/tuya_local/translations/pt-BR.json | 4 ++-- custom_components/tuya_local/translations/ru.json | 4 ++-- custom_components/tuya_local/translations/uk.json | 4 ++-- custom_components/tuya_local/translations/ur.json | 4 ++-- tests/devices/test_beok_tr9b_thermostat.py | 4 ++-- tests/devices/test_eberg_cooly_c35hd.py | 4 ++-- tests/devices/test_inkbird_itc308_thermostat.py | 4 ++-- tests/devices/test_inkbird_sousvide.py | 4 ++-- tests/devices/test_jiahong_et72w_thermostat.py | 4 ++-- tests/devices/test_wilfa_haze_hu400bc_humidifier.py | 4 ++-- 83 files changed, 170 insertions(+), 170 deletions(-) diff --git a/custom_components/tuya_local/devices/advancedfires_1500_fireplace.yaml b/custom_components/tuya_local/devices/advancedfires_1500_fireplace.yaml index 91b171f8df..8e09d240c9 100644 --- a/custom_components/tuya_local/devices/advancedfires_1500_fireplace.yaml +++ b/custom_components/tuya_local/devices/advancedfires_1500_fireplace.yaml @@ -80,9 +80,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: light name: Flame dps: diff --git a/custom_components/tuya_local/devices/arlec_pa1123bkha_portable_air_conditioner.yaml b/custom_components/tuya_local/devices/arlec_pa1123bkha_portable_air_conditioner.yaml index 4aa7b811e0..304b760e17 100644 --- a/custom_components/tuya_local/devices/arlec_pa1123bkha_portable_air_conditioner.yaml +++ b/custom_components/tuya_local/devices/arlec_pa1123bkha_portable_air_conditioner.yaml @@ -122,6 +122,6 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml b/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml index e9acb34720..59ca95276c 100644 --- a/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml +++ b/custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml @@ -183,9 +183,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Temperature hysteresis category: config diff --git a/custom_components/tuya_local/devices/becool_heatpump.yaml b/custom_components/tuya_local/devices/becool_heatpump.yaml index 012325c3fb..830f6d3d90 100644 --- a/custom_components/tuya_local/devices/becool_heatpump.yaml +++ b/custom_components/tuya_local/devices/becool_heatpump.yaml @@ -97,6 +97,6 @@ secondary_entities: name: option mapping: - dps_val: true - value: "Fahrenheit" + value: fahrenheit - dps_val: false - value: "Celsius" + value: celsius diff --git a/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml b/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml index 68dad884d0..99c0bf2010 100644 --- a/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml +++ b/custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml @@ -141,9 +141,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Maximum temperature category: config diff --git a/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml b/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml index ed00158f1f..fc557d251a 100644 --- a/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml +++ b/custom_components/tuya_local/devices/beok_tr9b_thermostat.yaml @@ -82,9 +82,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: select name: Schedule category: config diff --git a/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml b/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml index 65e98d3145..edeb2762c3 100644 --- a/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml +++ b/custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml @@ -171,10 +171,9 @@ secondary_entities: optional: true mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit - icon: "mdi:temperature-fahrenheit" + value: fahrenheit - entity: binary_sensor name: Low water class: problem diff --git a/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml b/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml index 2a527b7cff..cb73be9746 100644 --- a/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml +++ b/custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml @@ -135,6 +135,6 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/brade_mc6_thermostat.yaml b/custom_components/tuya_local/devices/brade_mc6_thermostat.yaml index 40d5e436fb..5ef7e70e91 100644 --- a/custom_components/tuya_local/devices/brade_mc6_thermostat.yaml +++ b/custom_components/tuya_local/devices/brade_mc6_thermostat.yaml @@ -216,9 +216,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Holiday days category: config diff --git a/custom_components/tuya_local/devices/carson_cb.yaml b/custom_components/tuya_local/devices/carson_cb.yaml index fc2b0fe060..a92463786f 100644 --- a/custom_components/tuya_local/devices/carson_cb.yaml +++ b/custom_components/tuya_local/devices/carson_cb.yaml @@ -87,9 +87,9 @@ secondary_entities: name: option mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit - entity: switch name: Sleep icon: "mdi:power-sleep" diff --git a/custom_components/tuya_local/devices/della_airconditioner.yaml b/custom_components/tuya_local/devices/della_airconditioner.yaml index db064113fc..33d9b7ed8a 100644 --- a/custom_components/tuya_local/devices/della_airconditioner.yaml +++ b/custom_components/tuya_local/devices/della_airconditioner.yaml @@ -112,9 +112,9 @@ secondary_entities: name: option mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit - entity: sensor class: energy category: diagnostic diff --git a/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml b/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml index e15a113789..59dafc7e11 100644 --- a/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml +++ b/custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml @@ -143,9 +143,9 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit - entity: sensor name: Timer class: duration diff --git a/custom_components/tuya_local/devices/eberg_cooly_c35hd.yaml b/custom_components/tuya_local/devices/eberg_cooly_c35hd.yaml index 5ae9b0e28b..5e8294bd1d 100644 --- a/custom_components/tuya_local/devices/eberg_cooly_c35hd.yaml +++ b/custom_components/tuya_local/devices/eberg_cooly_c35hd.yaml @@ -101,6 +101,6 @@ secondary_entities: name: option mapping: - dps_val: true - value: "Fahrenheit" + value: fahrenheit - dps_val: false - value: "Celsius" + value: celsius diff --git a/custom_components/tuya_local/devices/electric_panel_heater.yaml b/custom_components/tuya_local/devices/electric_panel_heater.yaml index 89136f6ce6..e922ec8847 100644 --- a/custom_components/tuya_local/devices/electric_panel_heater.yaml +++ b/custom_components/tuya_local/devices/electric_panel_heater.yaml @@ -153,6 +153,6 @@ secondary_entities: name: option mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/electriq_airflex15w_heatpump.yaml b/custom_components/tuya_local/devices/electriq_airflex15w_heatpump.yaml index 8f3f65594c..17f5c35835 100644 --- a/custom_components/tuya_local/devices/electriq_airflex15w_heatpump.yaml +++ b/custom_components/tuya_local/devices/electriq_airflex15w_heatpump.yaml @@ -131,6 +131,6 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml b/custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml index cbd8f4f2d9..e1aff52baf 100644 --- a/custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml +++ b/custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml @@ -126,9 +126,9 @@ secondary_entities: type: string mapping: - dps_val: "c" - value: Celsius + value: celsius - dps_val: "f" - value: Fahrenheit + value: fahrenheit - entity: switch name: Sleep Mode category: config diff --git a/custom_components/tuya_local/devices/em3378_weather_station.yaml b/custom_components/tuya_local/devices/em3378_weather_station.yaml index 004bee5b66..9a61643856 100644 --- a/custom_components/tuya_local/devices/em3378_weather_station.yaml +++ b/custom_components/tuya_local/devices/em3378_weather_station.yaml @@ -172,9 +172,9 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit - entity: binary_sensor name: Fault class: problem diff --git a/custom_components/tuya_local/devices/etop_ch7100_thermostat.yaml b/custom_components/tuya_local/devices/etop_ch7100_thermostat.yaml index 4a4f2396fa..46838691b6 100644 --- a/custom_components/tuya_local/devices/etop_ch7100_thermostat.yaml +++ b/custom_components/tuya_local/devices/etop_ch7100_thermostat.yaml @@ -160,9 +160,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: sensor class: humidity dps: diff --git a/custom_components/tuya_local/devices/etop_fcu_thermostat.yaml b/custom_components/tuya_local/devices/etop_fcu_thermostat.yaml index 00a662a65a..d7f0cfc4a8 100644 --- a/custom_components/tuya_local/devices/etop_fcu_thermostat.yaml +++ b/custom_components/tuya_local/devices/etop_fcu_thermostat.yaml @@ -107,9 +107,9 @@ secondary_entities: type: string mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit ############################################################ # Programming mode # diff --git a/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml b/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml index 15fa937c46..24b5fe6529 100644 --- a/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml +++ b/custom_components/tuya_local/devices/evotherm_eti_heatpump.yaml @@ -146,9 +146,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: binary_sensor name: Fault class: problem diff --git a/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml b/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml index 2332ab1b29..d6a5c7a48d 100644 --- a/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml +++ b/custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml @@ -124,6 +124,6 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/hombli_thermostatic_radiator_valve.yaml b/custom_components/tuya_local/devices/hombli_thermostatic_radiator_valve.yaml index 4617979e15..70ba3498d2 100644 --- a/custom_components/tuya_local/devices/hombli_thermostatic_radiator_valve.yaml +++ b/custom_components/tuya_local/devices/hombli_thermostatic_radiator_valve.yaml @@ -61,10 +61,10 @@ secondary_entities: name: option optional: true mapping: - - dps_val: "c" - value: Celsius - - dps_val: "f" - value: Fahrenheit + - dps_val: c + value: celsius + - dps_val: f + value: fahrenheit - entity: number name: Temperature calibration category: config diff --git a/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml b/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml index b50adc2ff0..f72143dcbe 100644 --- a/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml +++ b/custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml @@ -363,9 +363,9 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit - entity: binary_sensor name: Fault class: problem diff --git a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml index 0d2aca4918..a6b98bb537 100644 --- a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml +++ b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometer.yaml @@ -89,9 +89,9 @@ secondary_entities: name: option mapping: - dps_val: f - value: Fahrenheit + value: fahrenheit - dps_val: c - value: Celsius + value: celsius - entity: sensor class: battery category: diagnostic diff --git a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml index 7de953c301..7a60999bff 100644 --- a/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml +++ b/custom_components/tuya_local/devices/inkbird_bbq4t_thermometerv2.yaml @@ -94,9 +94,9 @@ secondary_entities: name: option mapping: - dps_val: f - value: Fahrenheit + value: fahrenheit - dps_val: c - value: Celsius + value: celsius - entity: sensor class: battery category: diagnostic diff --git a/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml b/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml index 573418ab78..0560c196b9 100644 --- a/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml +++ b/custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml @@ -77,9 +77,9 @@ secondary_entities: name: option mapping: - dps_val: F - value: Fahrenheit + value: fahrenheit - dps_val: C - value: Celsius + value: celsius - entity: sensor class: battery category: diagnostic diff --git a/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml b/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml index 63bf54ae3a..29a4d4417a 100644 --- a/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml +++ b/custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml @@ -209,9 +209,9 @@ secondary_entities: type: string mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit - entity: binary_sensor class: heat category: diagnostic diff --git a/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml b/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml index 542f123565..64964534ec 100644 --- a/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml +++ b/custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml @@ -176,9 +176,9 @@ secondary_entities: type: string mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit - entity: binary_sensor class: heat category: diagnostic diff --git a/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml b/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml index bf0361eb7b..268605d748 100644 --- a/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml +++ b/custom_components/tuya_local/devices/inkbird_sousvide_cooker.yaml @@ -96,9 +96,9 @@ secondary_entities: name: option mapping: - dps_val: true - value: Celsius + value: celsius - dps_val: false - value: Fahrenheit + value: fahrenheit - entity: number name: Recipe category: config diff --git a/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml b/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml index 380fc3237d..98dc9a9a37 100644 --- a/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml +++ b/custom_components/tuya_local/devices/inventor_tokenslegend_airconditioner.yaml @@ -153,9 +153,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: binary_sensor name: Fault class: problem diff --git a/custom_components/tuya_local/devices/jiahong_et72w_thermostat.yaml b/custom_components/tuya_local/devices/jiahong_et72w_thermostat.yaml index 1e5f13c92b..510eb2f3fa 100644 --- a/custom_components/tuya_local/devices/jiahong_et72w_thermostat.yaml +++ b/custom_components/tuya_local/devices/jiahong_et72w_thermostat.yaml @@ -164,10 +164,9 @@ secondary_entities: type: boolean mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit - icon: "mdi:temperature-fahrenheit" + value: fahrenheit - entity: number category: config class: temperature diff --git a/custom_components/tuya_local/devices/kogan_kawfpac12ya_airconditioner.yaml b/custom_components/tuya_local/devices/kogan_kawfpac12ya_airconditioner.yaml index a3327a1587..3f746bb42e 100644 --- a/custom_components/tuya_local/devices/kogan_kawfpac12ya_airconditioner.yaml +++ b/custom_components/tuya_local/devices/kogan_kawfpac12ya_airconditioner.yaml @@ -102,6 +102,6 @@ secondary_entities: name: option mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/kogan_kawfpac16pya_airconditioner.yaml b/custom_components/tuya_local/devices/kogan_kawfpac16pya_airconditioner.yaml index 775b45b04c..52339d6852 100644 --- a/custom_components/tuya_local/devices/kogan_kawfpac16pya_airconditioner.yaml +++ b/custom_components/tuya_local/devices/kogan_kawfpac16pya_airconditioner.yaml @@ -100,6 +100,6 @@ secondary_entities: name: option mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml b/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml index 1ae348daa5..d8e6a44f44 100644 --- a/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml +++ b/custom_components/tuya_local/devices/madimack_eco_heatpump.yaml @@ -95,9 +95,9 @@ secondary_entities: type: string mapping: - dps_val: f - value: Fahrenheit + value: fahrenheit - dps_val: c - value: Celsius + value: celsius - entity: binary_sensor name: Fault class: problem diff --git a/custom_components/tuya_local/devices/me80_thermostat.yaml b/custom_components/tuya_local/devices/me80_thermostat.yaml index e43edbeabe..262ff8d796 100644 --- a/custom_components/tuya_local/devices/me80_thermostat.yaml +++ b/custom_components/tuya_local/devices/me80_thermostat.yaml @@ -200,9 +200,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Temperature calibration category: config diff --git a/custom_components/tuya_local/devices/minco_mh1823d_thermostat.yaml b/custom_components/tuya_local/devices/minco_mh1823d_thermostat.yaml index 64df1bbfe1..ae099e899d 100644 --- a/custom_components/tuya_local/devices/minco_mh1823d_thermostat.yaml +++ b/custom_components/tuya_local/devices/minco_mh1823d_thermostat.yaml @@ -125,9 +125,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Calibration offset internal category: config diff --git a/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml b/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml index 33df83c62b..bf5a0e09ca 100644 --- a/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml +++ b/custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml @@ -84,9 +84,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: select translation_key: timer category: config diff --git a/custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml b/custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml index fbc47f5986..413ba6623b 100644 --- a/custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml +++ b/custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml @@ -169,9 +169,9 @@ secondary_entities: name: option mapping: - dps_val: false - value: Celsius + value: celsius - dps_val: true - value: Fahrenheit + value: fahrenheit - entity: lock translation_key: child_lock category: config diff --git a/custom_components/tuya_local/devices/neo_coolcam_siren.yaml b/custom_components/tuya_local/devices/neo_coolcam_siren.yaml index 1055a03e4a..10a6da53ed 100644 --- a/custom_components/tuya_local/devices/neo_coolcam_siren.yaml +++ b/custom_components/tuya_local/devices/neo_coolcam_siren.yaml @@ -169,9 +169,9 @@ secondary_entities: name: option mapping: - dps_val: true - value: Celsius + value: celsius - dps_val: false - value: Fahrenheit + value: fahrenheit - entity: switch name: Temperature alarm icon: "mdi:thermometer-alert" diff --git a/custom_components/tuya_local/devices/pgst_climate_sensor.yaml b/custom_components/tuya_local/devices/pgst_climate_sensor.yaml index fa87f32ded..e643bf8fb2 100644 --- a/custom_components/tuya_local/devices/pgst_climate_sensor.yaml +++ b/custom_components/tuya_local/devices/pgst_climate_sensor.yaml @@ -48,9 +48,9 @@ secondary_entities: name: option mapping: - dps_val: f - value: Fahrenheit + value: fahrenheit - dps_val: c - value: Celsius + value: celsius - entity: number name: Maximum temperature category: config diff --git a/custom_components/tuya_local/devices/poolex_arctic_action.yaml b/custom_components/tuya_local/devices/poolex_arctic_action.yaml index d3a8ef09f1..1d2b6f33e3 100644 --- a/custom_components/tuya_local/devices/poolex_arctic_action.yaml +++ b/custom_components/tuya_local/devices/poolex_arctic_action.yaml @@ -181,9 +181,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: binary_sensor class: problem name: Fault diff --git a/custom_components/tuya_local/devices/poolex_q7_heatpump.yaml b/custom_components/tuya_local/devices/poolex_q7_heatpump.yaml index 0b3f10c248..669c5a6cd9 100644 --- a/custom_components/tuya_local/devices/poolex_q7_heatpump.yaml +++ b/custom_components/tuya_local/devices/poolex_q7_heatpump.yaml @@ -171,9 +171,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: binary_sensor name: Status class: running diff --git a/custom_components/tuya_local/devices/princess_panel_heater.yaml b/custom_components/tuya_local/devices/princess_panel_heater.yaml index 14b8cfef6c..fed0686cce 100644 --- a/custom_components/tuya_local/devices/princess_panel_heater.yaml +++ b/custom_components/tuya_local/devices/princess_panel_heater.yaml @@ -61,6 +61,6 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml b/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml index cca3603b37..8ac7fcb767 100644 --- a/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml +++ b/custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml @@ -112,9 +112,9 @@ secondary_entities: name: option mapping: - dps_val: true - value: Fahrenheit + value: fahrenheit - dps_val: false - value: Celsius + value: celsius - entity: switch category: config name: Sleep diff --git a/custom_components/tuya_local/devices/royal_airconditioner.yaml b/custom_components/tuya_local/devices/royal_airconditioner.yaml index 1cd404b91d..5e8a925626 100644 --- a/custom_components/tuya_local/devices/royal_airconditioner.yaml +++ b/custom_components/tuya_local/devices/royal_airconditioner.yaml @@ -109,9 +109,9 @@ secondary_entities: name: option mapping: - dps_val: true - value: Fahrenheit + value: fahrenheit - dps_val: false - value: Celsius + value: celsius - entity: switch name: Sleep mode icon: "mdi:power-sleep" diff --git a/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml b/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml index c575ae91ab..1f829dc950 100644 --- a/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml +++ b/custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml @@ -121,9 +121,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Minimum temperature category: config diff --git a/custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml b/custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml index ac7a3255eb..a3d513a60d 100644 --- a/custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml +++ b/custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml @@ -136,9 +136,9 @@ secondary_entities: type: string mapping: - dps_val: F - value: Fahrenheit + value: fahrenheit - dps_val: C - value: Celsius + value: celsius - entity: select name: Configuration icon: "mdi:tune" diff --git a/custom_components/tuya_local/devices/sencor_air_conditioner.yaml b/custom_components/tuya_local/devices/sencor_air_conditioner.yaml index 1375c0f2c4..8b4c080e76 100644 --- a/custom_components/tuya_local/devices/sencor_air_conditioner.yaml +++ b/custom_components/tuya_local/devices/sencor_air_conditioner.yaml @@ -83,6 +83,6 @@ secondary_entities: type: string mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml b/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml index e5df0c606e..87496e11c4 100644 --- a/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml +++ b/custom_components/tuya_local/devices/setti_czajnik_kettle.yaml @@ -208,9 +208,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: switch name: Keep warm icon: "mdi:kettle-outline" diff --git a/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml b/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml index 57eadbaa4d..c5b830af1a 100644 --- a/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml +++ b/custom_components/tuya_local/devices/suntec_coolfix_airconditioner.yaml @@ -140,6 +140,6 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit diff --git a/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml b/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml index 64a71fa135..3f805550b5 100644 --- a/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml +++ b/custom_components/tuya_local/devices/t5e_wf_thermostat.yaml @@ -267,9 +267,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: sensor name: Working status category: diagnostic diff --git a/custom_components/tuya_local/devices/tesla_airconditioner.yaml b/custom_components/tuya_local/devices/tesla_airconditioner.yaml index 5f77d2319a..e6aea90c07 100644 --- a/custom_components/tuya_local/devices/tesla_airconditioner.yaml +++ b/custom_components/tuya_local/devices/tesla_airconditioner.yaml @@ -133,9 +133,9 @@ secondary_entities: name: option mapping: - dps_val: C - value: Celsius + value: celsius - dps_val: F - value: Fahrenheit + value: fahrenheit - entity: sensor class: energy category: diagnostic diff --git a/custom_components/tuya_local/devices/th05_temp_humidity_sensor.yaml b/custom_components/tuya_local/devices/th05_temp_humidity_sensor.yaml index e64d948019..af0e815107 100644 --- a/custom_components/tuya_local/devices/th05_temp_humidity_sensor.yaml +++ b/custom_components/tuya_local/devices/th05_temp_humidity_sensor.yaml @@ -31,9 +31,9 @@ secondary_entities: type: string mapping: - dps_val: "f" - value: Fahrenheit + value: fahrenheit - dps_val: "c" - value: Celsius + value: celsius optional: true - entity: sensor class: battery diff --git a/custom_components/tuya_local/devices/th08_temperature_and_humidity_sensor.yaml b/custom_components/tuya_local/devices/th08_temperature_and_humidity_sensor.yaml index 265bf9833c..4a37cfd035 100644 --- a/custom_components/tuya_local/devices/th08_temperature_and_humidity_sensor.yaml +++ b/custom_components/tuya_local/devices/th08_temperature_and_humidity_sensor.yaml @@ -46,6 +46,6 @@ secondary_entities: type: string mapping: - dps_val: "f" - value: Fahrenheit + value: fahrenheit - dps_val: "c" - value: Celsius + value: celsius diff --git a/custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml b/custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml index 93659e7e54..ed35ab9ca6 100644 --- a/custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml +++ b/custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml @@ -30,9 +30,9 @@ secondary_entities: type: string mapping: - dps_val: "f" - value: Fahrenheit + value: fahrenheit - dps_val: "c" - value: Celsius + value: celsius optional: true - entity: light name: Display diff --git a/custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml b/custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml index 36040eff40..25dc44a22d 100644 --- a/custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml +++ b/custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml @@ -87,9 +87,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: light name: Flame category: config diff --git a/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml b/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml index 9186f79a51..68ecc5242b 100644 --- a/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml +++ b/custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml @@ -186,9 +186,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: light name: LCD brightness icon: "mdi:television-ambient-light" diff --git a/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml b/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml index 8b8b181418..aa4b1cd969 100644 --- a/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml +++ b/custom_components/tuya_local/devices/tyte_d1_thermostat.yaml @@ -174,9 +174,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: Vibration category: config diff --git a/custom_components/tuya_local/devices/ultenic_air_fryer.yaml b/custom_components/tuya_local/devices/ultenic_air_fryer.yaml index 4de274d7fe..288999608f 100644 --- a/custom_components/tuya_local/devices/ultenic_air_fryer.yaml +++ b/custom_components/tuya_local/devices/ultenic_air_fryer.yaml @@ -184,9 +184,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: switch name: Preheat icon: "mdi:fire" diff --git a/custom_components/tuya_local/devices/vivax_heatpump.yaml b/custom_components/tuya_local/devices/vivax_heatpump.yaml index 4b38d1ef93..6714949a0b 100644 --- a/custom_components/tuya_local/devices/vivax_heatpump.yaml +++ b/custom_components/tuya_local/devices/vivax_heatpump.yaml @@ -205,9 +205,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: switch name: Quiet category: config diff --git a/custom_components/tuya_local/devices/weeket_kettle.yaml b/custom_components/tuya_local/devices/weeket_kettle.yaml index 6b55c98eda..802dd40f11 100644 --- a/custom_components/tuya_local/devices/weeket_kettle.yaml +++ b/custom_components/tuya_local/devices/weeket_kettle.yaml @@ -79,9 +79,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: switch name: Keep warm icon: "mdi:heat-wave" 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 5b2c14d9e3..bbc1faaf80 100644 --- a/custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml +++ b/custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml @@ -140,9 +140,9 @@ secondary_entities: type: string mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: select translation_key: timer category: config diff --git a/custom_components/tuya_local/devices/zigbee_climate_alarm.yaml b/custom_components/tuya_local/devices/zigbee_climate_alarm.yaml index 79493b26d7..563d97f592 100644 --- a/custom_components/tuya_local/devices/zigbee_climate_alarm.yaml +++ b/custom_components/tuya_local/devices/zigbee_climate_alarm.yaml @@ -49,9 +49,9 @@ secondary_entities: name: option mapping: - dps_val: c - value: Celsius + value: celsius - dps_val: f - value: Fahrenheit + value: fahrenheit - entity: number name: High temperature category: config diff --git a/custom_components/tuya_local/translations/bg.json b/custom_components/tuya_local/translations/bg.json index f7c117c323..7f1b695b56 100644 --- a/custom_components/tuya_local/translations/bg.json +++ b/custom_components/tuya_local/translations/bg.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Температурна единица", "state": { - "Celsius": "Целзий", - "Fahrenheit": "Фаренхайт" + "celsius": "Целзий", + "fahrenheit": "Фаренхайт" } } } diff --git a/custom_components/tuya_local/translations/cz.json b/custom_components/tuya_local/translations/cz.json index c8bf920aa6..29d740f2d9 100644 --- a/custom_components/tuya_local/translations/cz.json +++ b/custom_components/tuya_local/translations/cz.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Jednotka teploty", "state": { - "Celsius": "Celsia", - "Fahrenheit": "Fahrenheita" + "celsius": "Celsia", + "fahrenheit": "Fahrenheita" } } } diff --git a/custom_components/tuya_local/translations/en.json b/custom_components/tuya_local/translations/en.json index f4cf58e400..19f2e61965 100644 --- a/custom_components/tuya_local/translations/en.json +++ b/custom_components/tuya_local/translations/en.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Temperature unit", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/es.json b/custom_components/tuya_local/translations/es.json index 17b32bb27a..27bb15c252 100644 --- a/custom_components/tuya_local/translations/es.json +++ b/custom_components/tuya_local/translations/es.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Unidad de temperatura", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/fr.json b/custom_components/tuya_local/translations/fr.json index 5d8fc87527..0c46eaaf9a 100644 --- a/custom_components/tuya_local/translations/fr.json +++ b/custom_components/tuya_local/translations/fr.json @@ -179,8 +179,8 @@ "temperature_unit": { "name": "Unité de température", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/hu.json b/custom_components/tuya_local/translations/hu.json index d03f0a3fa0..8c9b181b2d 100644 --- a/custom_components/tuya_local/translations/hu.json +++ b/custom_components/tuya_local/translations/hu.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Hőmérséklet mértékegysége", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/id.json b/custom_components/tuya_local/translations/id.json index a7bdde4c2c..19cd8f6782 100644 --- a/custom_components/tuya_local/translations/id.json +++ b/custom_components/tuya_local/translations/id.json @@ -212,8 +212,9 @@ "temperature_unit": { "name": "Satuan suhu", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" + } } } } diff --git a/custom_components/tuya_local/translations/it.json b/custom_components/tuya_local/translations/it.json index e9b62d09c4..018b5e4cbb 100644 --- a/custom_components/tuya_local/translations/it.json +++ b/custom_components/tuya_local/translations/it.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Unità di temperatura", "state": { - "Celsius": "Centigrado", - "Fahrenheit": "Fahrenheit" + "celsius": "Centigrado", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/no-NB.json b/custom_components/tuya_local/translations/no-NB.json index c55e5c2c54..7a571ca493 100644 --- a/custom_components/tuya_local/translations/no-NB.json +++ b/custom_components/tuya_local/translations/no-NB.json @@ -196,8 +196,8 @@ "temperature_unit": { "name": "Temperaturenhet", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/pl.json b/custom_components/tuya_local/translations/pl.json index 9a05b3dbe8..5a95829114 100644 --- a/custom_components/tuya_local/translations/pl.json +++ b/custom_components/tuya_local/translations/pl.json @@ -211,9 +211,10 @@ "temperature_unit": { "name": "Jednostka temperatury", "state": { - "Celsius": "Celsjusz", - "Fahrenheit": "Fahrenheita" + "celsius": "Celsjusz", + "fahrenheit": "Fahrenheita" } + } } } } diff --git a/custom_components/tuya_local/translations/pt-BR.json b/custom_components/tuya_local/translations/pt-BR.json index 1a1f303c18..19747bcc2a 100644 --- a/custom_components/tuya_local/translations/pt-BR.json +++ b/custom_components/tuya_local/translations/pt-BR.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Unidade de temperatura", "state": { - "Celsius": "Celsius", - "Fahrenheit": "Fahrenheit" + "celsius": "Celsius", + "fahrenheit": "Fahrenheit" } } } diff --git a/custom_components/tuya_local/translations/ru.json b/custom_components/tuya_local/translations/ru.json index 8694345ab0..7f26060a5d 100644 --- a/custom_components/tuya_local/translations/ru.json +++ b/custom_components/tuya_local/translations/ru.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Единица измерения температуры", "state": { - "Celsius": "Цельсия", - "Fahrenheit": "Фаренгейт" + "celsius": "Цельсия", + "fahrenheit": "Фаренгейт" } } } diff --git a/custom_components/tuya_local/translations/uk.json b/custom_components/tuya_local/translations/uk.json index f279b9c999..bd52df0352 100644 --- a/custom_components/tuya_local/translations/uk.json +++ b/custom_components/tuya_local/translations/uk.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "Температурна одиниця", "state": { - "Celsius": "Цельсія", - "Fahrenheit": "Фаренгейт" + "celsius": "Цельсія", + "fahrenheit": "Фаренгейт" } } } diff --git a/custom_components/tuya_local/translations/ur.json b/custom_components/tuya_local/translations/ur.json index 0b9bef953d..096a065a7e 100644 --- a/custom_components/tuya_local/translations/ur.json +++ b/custom_components/tuya_local/translations/ur.json @@ -212,8 +212,8 @@ "temperature_unit": { "name": "درجہ حرارت یونٹ", "state": { - "Celsius": "سیلسیس", - "Fahrenheit": "فارن ہائیٹ" + "celsius": "سیلسیس", + "fahrenheit": "فارن ہائیٹ" } } } diff --git a/tests/devices/test_beok_tr9b_thermostat.py b/tests/devices/test_beok_tr9b_thermostat.py index 8ce1cd0146..c136c46874 100644 --- a/tests/devices/test_beok_tr9b_thermostat.py +++ b/tests/devices/test_beok_tr9b_thermostat.py @@ -69,8 +69,8 @@ def setUp(self): "dps": UNIT_DPS, "name": "select_temperature_unit", "options": { - "c": "Celsius", - "f": "Fahrenheit", + "c": "celsius", + "f": "fahrenheit", }, }, ], diff --git a/tests/devices/test_eberg_cooly_c35hd.py b/tests/devices/test_eberg_cooly_c35hd.py index e9da5ba32f..c9c5b3e076 100644 --- a/tests/devices/test_eberg_cooly_c35hd.py +++ b/tests/devices/test_eberg_cooly_c35hd.py @@ -48,8 +48,8 @@ def setUp(self): UNIT_DPS, self.entities.get("select_temperature_unit"), { - True: "Fahrenheit", - False: "Celsius", + True: "fahrenheit", + False: "celsius", }, ) self.mark_secondary(["select_temperature_unit"]) diff --git a/tests/devices/test_inkbird_itc308_thermostat.py b/tests/devices/test_inkbird_itc308_thermostat.py index 3ff9a143a4..3dbc1a9e91 100644 --- a/tests/devices/test_inkbird_itc308_thermostat.py +++ b/tests/devices/test_inkbird_itc308_thermostat.py @@ -52,8 +52,8 @@ def setUp(self): UNIT_DPS, self.entities.get("select_temperature_unit"), { - "C": "Celsius", - "F": "Fahrenheit", + "C": "celsius", + "F": "fahrenheit", }, ) self.setUpMultiBinarySensors( diff --git a/tests/devices/test_inkbird_sousvide.py b/tests/devices/test_inkbird_sousvide.py index 6864495f45..9676acb738 100644 --- a/tests/devices/test_inkbird_sousvide.py +++ b/tests/devices/test_inkbird_sousvide.py @@ -81,8 +81,8 @@ def setUp(self): UNIT_DPS, self.entities.get("select_temperature_unit"), { - False: "Fahrenheit", - True: "Celsius", + False: "fahrenheit", + True: "celsius", }, ) self.setUpBasicSensor( diff --git a/tests/devices/test_jiahong_et72w_thermostat.py b/tests/devices/test_jiahong_et72w_thermostat.py index 5cf54f0419..5e7b9c4aae 100644 --- a/tests/devices/test_jiahong_et72w_thermostat.py +++ b/tests/devices/test_jiahong_et72w_thermostat.py @@ -71,8 +71,8 @@ def setUp(self): "dps": UNIT_DPS, "name": "select_temperature_unit", "options": { - False: "Celsius", - True: "Fahrenheit", + False: "celsius", + True: "fahrenheit", }, }, { diff --git a/tests/devices/test_wilfa_haze_hu400bc_humidifier.py b/tests/devices/test_wilfa_haze_hu400bc_humidifier.py index b99b6094ba..757ba6fe0f 100644 --- a/tests/devices/test_wilfa_haze_hu400bc_humidifier.py +++ b/tests/devices/test_wilfa_haze_hu400bc_humidifier.py @@ -92,8 +92,8 @@ def setUp(self): "dps": UNIT_DPS, "name": "select_temperature_unit", "options": { - "c": "Celsius", - "f": "Fahrenheit", + "c": "celsius", + "f": "fahrenheit", }, }, ],