From 17abb9e63ffa31da11222adb87bd6e735b39467b Mon Sep 17 00:00:00 2001 From: "mike.toggweiler" Date: Fri, 22 Nov 2024 07:49:58 +0100 Subject: [PATCH] fixed naming of entities --- custom_components/askoheat/const.py | 30 +++++++++---------- .../askoheat/translations/en.json | 30 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/custom_components/askoheat/const.py b/custom_components/askoheat/const.py index 0a85dfe..7366919 100644 --- a/custom_components/askoheat/const.py +++ b/custom_components/askoheat/const.py @@ -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 # ----------------------------------------------- diff --git a/custom_components/askoheat/translations/en.json b/custom_components/askoheat/translations/en.json index 966f590..58b24b2 100644 --- a/custom_components/askoheat/translations/en.json +++ b/custom_components/askoheat/translations/en.json @@ -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": {