Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for "translation_key contains invalid characters" errors in hassfest #171

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c759fbe
Update hassfest.yaml
rhammen Oct 22, 2023
6243028
Update validate-hacs.yaml
rhammen Oct 22, 2023
55cbb62
Merge branch 'BenPru:main' into improve-Beta-integration
rhammen Oct 22, 2023
1182a2b
Attempt to fix translations issues
rhammen Oct 22, 2023
a109bbb
More fixes translation issues
rhammen Oct 22, 2023
d6e7f36
Update en.json
rhammen Oct 22, 2023
b3137ba
Update en.json
rhammen Oct 23, 2023
55ad84a
Update common.py to get valid 'states' to translate
rhammen Oct 23, 2023
8b5d948
Update en.json
rhammen Oct 23, 2023
0facafb
Changes realted to changed state-values for translation_keys
rhammen Oct 23, 2023
caebeb1
Prepare addition of Switchoff reason sensor
rhammen Oct 23, 2023
449b363
Update en.json
rhammen Oct 25, 2023
c4ab4d2
Update de.json to get translation keys without spaces
rhammen Oct 25, 2023
3460141
Update en.json
rhammen Oct 25, 2023
b033cdf
Update pl.json to get translation keys without spaces
rhammen Oct 25, 2023
6c029f4
Update pl.json
rhammen Oct 25, 2023
6d0c270
Update pl.json
rhammen Oct 25, 2023
1492a19
Merge pull request #7 from BenPru/main
rhammen Oct 25, 2023
71ff552
Update pl.json to get translation keys without spaces
rhammen Oct 25, 2023
fcce0c9
Update en.json
rhammen Oct 25, 2023
28d0462
Update de.json
rhammen Oct 25, 2023
280df22
Update pl.json
rhammen Oct 25, 2023
e31b327
Update manifest.json - remove not allowed key "homeassistant"
rhammen Oct 25, 2023
2212658
Update manifest.json
rhammen Oct 26, 2023
d5417a4
Update climate.py
rhammen Oct 26, 2023
5171d6b
Update const.py
rhammen Oct 26, 2023
3c03035
Update update.py
rhammen Oct 26, 2023
44d44ce
Update manifest.json
rhammen Oct 26, 2023
a7f8528
Merge pull request #8 from BenPru/main
rhammen Oct 26, 2023
eca1990
Update manifest.json
rhammen Oct 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changes realted to changed state-values for translation_keys
  • Loading branch information
rhammen authored Oct 23, 2023
commit 0facafb049680f1455d4d06ccf4f3450f321745e
52 changes: 26 additions & 26 deletions custom_components/luxtronik/const.py
Original file line number Diff line number Diff line change
@@ -103,12 +103,12 @@ class LuxOperationMode(StrEnum):
"""Lux Operation modes heating, hot water etc."""

heating: Final = "heating" # 0
domestic_water: Final = "hot water" # 1
swimming_pool_solar: Final = "swimming pool/solar" # 2
domestic_water: Final = "hot_water" # 1
swimming_pool_solar: Final = "swimming_pool_solar" # 2
evu: Final = "evu" # 3
defrost: Final = "defrost" # 4
no_request: Final = "no request" # 5
heating_external_source: Final = "heating external source" # 6
no_request: Final = "no_request" # 5
heating_external_source: Final = "heating_external_source" # 6
cooling: Final = "cooling" # 7


@@ -125,16 +125,16 @@ class LuxMode(StrEnum):
class LuxStatus1Option(StrEnum):
"""LuxStatus1 option defrost etc."""

heatpump_running: Final = "heatpump running"
heatpump_idle: Final = "heatpump idle"
heatpump_coming: Final = "heatpump coming"
heatpump_shutdown: Final = "heatpump shutdown"
errorcode_slot_zero: Final = "errorcode slot 0"
heatpump_running: Final = "heatpump_running"
heatpump_idle: Final = "heatpump_idle"
heatpump_coming: Final = "heatpump_coming"
heatpump_shutdown: Final = "heatpump_shutdown"
errorcode_slot_zero: Final = "errorcode_slot_0"
defrost: Final = "defrost"
witing_on_LIN_connection: Final = "witing on LIN connection"
compressor_heating_up: Final = "compressor heating up"
pump_forerun: Final = "pump forerun"
compressor_heater: Final = "compressor heater"
writing_on_lin_connection: Final = "writing_on_lin_connection"
compressor_heating_up: Final = "compressor_heating_up"
pump_forerun: Final = "pump_forerun"
compressor_heater: Final = "compressor_heater"


class LuxStatus3Option(StrEnum):
@@ -143,23 +143,23 @@ class LuxStatus3Option(StrEnum):
unknown: Final = ("unknown",)
none: Final = ("none",)
heating: Final = ("heating",)
no_request: Final = ("no request",)
grid_switch_on_delay: Final = ("grid switch on delay",)
cycle_lock: Final = ("cycle lock",)
lock_time: Final = ("lock time",)
domestic_water: Final = ("domestic water",)
info_bake_out_program: Final = ("info bake out program",)
no_request: Final = ("no_request",)
grid_switch_on_delay: Final = ("grid_switch_on_delay",)
cycle_lock: Final = ("cycle_lock",)
lock_time: Final = ("lock_time",)
domestic_water: Final = ("domestic_water",)
info_bake_out_program: Final = ("info_bake_out_program",)
defrost: Final = ("defrost",)
pump_forerun: Final = ("pump forerun",)
thermal_desinfection: Final = ("thermal desinfection",)
pump_forerun: Final = ("pump_forerun",)
thermal_desinfection: Final = ("thermal_desinfection",)
cooling: Final = ("cooling",)
swimming_pool_solar: Final = ("swimming pool/solar",)
heating_external_energy_source: Final = ("heating external energy source",)
swimming_pool_solar: Final = ("swimming_pool_solar",)
heating_external_energy_source: Final = ("heating_external_energy_source",)
domestic_water_external_energy_source: Final = (
"domestic water external energy source",
"domestic_water_external_energy_source",
)
flow_monitoring: Final = ("flow monitoring",)
second_heat_generator_1_active: Final = ("second heat generator 1 active",)
flow_monitoring: Final = ("flow_monitoring",)
second_heat_generator_1_active: Final = ("second_heat_generator_1_active",)


class LuxMkTypes(Enum):