Skip to content

Commit

Permalink
fixed naming of entities
Browse files Browse the repository at this point in the history
  • Loading branch information
toggm committed Nov 22, 2024
1 parent 644557a commit 17abb9e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions custom_components/askoheat/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,21 +262,21 @@ class BinarySensorAttrKey(StrEnum):
# EMA block binary sensors
# -----------------------------------------------
# from status register -- begin
HEATER1_ACTIVE = "status.heater1"
HEATER2_ACTIVE = "status.heater2"
HEATER3_ACTIVE = "status.heater3"
PUMP_ACTIVE = "status.pump"
RELAY_BOARD_CONNECTED = "status.relay_board_connected"
EMERGENCY_MODE_ACTIVE = "status.emergency_mode"
HEATPUMP_REQUEST_ACTIVE = "status.heatpump_request"
LEGIONELLA_PROTECTION_ACTIVE = "status.legionella_protection"
ANALOG_INPUT_ACTIVE = "status.analog_input"
SETPOINT_ACTIVE = "status.setpoint"
LOAD_FEEDIN_ACTIVE = "status.load_feedin"
AUTOHEATER_ACTIVE = "status.autoheater"
PUMP_RELAY_FOLLOW_UP_TIME_ACTIVE = "status.pump_relay_follow_up_time_active"
TEMP_LIMIT_REACHED = "status.temp_limit_reached"
ERROR_OCCURED = "status.error"
HEATER1_ACTIVE = "status_heater1"
HEATER2_ACTIVE = "status_heater2"
HEATER3_ACTIVE = "status_heater3"
PUMP_ACTIVE = "status_pump"
RELAY_BOARD_CONNECTED = "status_relay_board_connected"
EMERGENCY_MODE_ACTIVE = "status_emergency_mode"
HEATPUMP_REQUEST_ACTIVE = "status_heatpump_request"
LEGIONELLA_PROTECTION_ACTIVE = "status_legionella_protection"
ANALOG_INPUT_ACTIVE = "status_analog_input"
SETPOINT_ACTIVE = "status_setpoint"
LOAD_FEEDIN_ACTIVE = "status_load_feedin"
AUTOHEATER_ACTIVE = "status_autoheater"
PUMP_RELAY_FOLLOW_UP_TIME_ACTIVE = "status_pump_relay_follow_up_time_active"
TEMP_LIMIT_REACHED = "status_temp_limit_reached"
ERROR_OCCURED = "status_error"
# from status register -- end

# -----------------------------------------------
Expand Down
30 changes: 15 additions & 15 deletions custom_components/askoheat/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,49 +26,49 @@
}
},
"binary_sensor": {
"status.heater1": {
"status_heater1": {
"name": "Heater 1"
},
"status.heater2": {
"status_heater2": {
"name": "Heater 2"
},
"status.heater3": {
"status_heater3": {
"name": "Heater 3"
},
"status.pump": {
"status_pump": {
"name": "Pump"
},
"status.relay_board_connected": {
"status_relay_board_connected": {
"name": "Relay board connection"
},
"status.emergency_mode": {
"status_emergency_mode": {
"name": "Emergency mode"
},
"status.heat_pump_request": {
"status_heat_pump_request": {
"name": "Heat pump request"
},
"status.legionella_protection": {
"status_legionella_protection": {
"name": "Legionella protection"
},
"status.analog_input": {
"status_analog_input": {
"name": "Analog input"
},
"status.setpoint": {
"status_setpoint": {
"name": "Setpoint"
},
"status.load_feedin": {
"status_load_feedin": {
"name": "Load feedin"
},
"status.autoheater": {
"status_autoheater": {
"name": "Auto-heater"
},
"status.pump_relay_follow_up_time_active": {
"status_pump_relay_follow_up_time_active": {
"name": "Pump relay follow-up time active"
},
"status.temp_limit_reached": {
"status_temp_limit_reached": {
"name": "Temp. limit reached"
},
"status.error": {
"status_error": {
"name": "Error"
},
"type_3_stage_version": {
Expand Down

0 comments on commit 17abb9e

Please sign in to comment.