Skip to content

Commit

Permalink
feat: rename lighter to lighterWorks and update related icons and tra…
Browse files Browse the repository at this point in the history
…nslations
  • Loading branch information
jontofront committed Dec 16, 2024
1 parent 3e2da9c commit 41c1029
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion custom_components/econet300/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@

BINARY_SENSOR_MAP_KEY = {
"_default": {
"lighter",
"lighterWorks",
"pumpCOWorks",
"fanWorks",
"pumpFireplaceWorks",
Expand Down Expand Up @@ -268,6 +268,7 @@
"lambdaLevel": "mdi:lambda",
"lambdaSet": "mdi:lambda",
"lambdaStatus": "mdi:lambda",
"lighterWorks": "mdi:fire",
"workAt100": "mdi:counter",
"workAt50": "mdi:counter",
"workAt30": "mdi:counter",
Expand Down Expand Up @@ -305,6 +306,7 @@
"statusCWU": "mdi:water-boiler-off",
"mainSrv": "mdi:server-network-off",
"lan": "mdi:lan-disconnect",
"lighterWorks": "mdi:fire-off",
}

NO_CWU_TEMP_SET_STATUS_CODE = 128
Expand Down
2 changes: 1 addition & 1 deletion custom_components/econet300/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"entity": {
"binary_sensor": {
"lighter": {
"lighter_works": {
"name": "Lighter"
},
"weather_control": {
Expand Down
2 changes: 1 addition & 1 deletion custom_components/econet300/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"entity": {
"binary_sensor": {
"lighter": {
"lighter_works": {
"name": "Lighter"
},
"weather_control": {
Expand Down

0 comments on commit 41c1029

Please sign in to comment.