Skip to content

Commit

Permalink
Removed several bugs introduced when language support was introduced
Browse files Browse the repository at this point in the history
Removal of units_id dictionary
Corrected several symbolic registernames to be more consistant-> Will require an update of the lovelace.yaml
  • Loading branch information
ThermIQ committed Jan 15, 2022
1 parent 6bda6ee commit c04f47c
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 286 deletions.
1 change: 0 additions & 1 deletion custom_components/thermiq_mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
FIELD_REGTYPE,
FIELD_UNIT,
id_names,
id_units,
reg_id,
)

Expand Down
1 change: 0 additions & 1 deletion custom_components/thermiq_mqtt/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
FIELD_REGTYPE,
FIELD_UNIT,
id_names,
id_units,
reg_id,
)

Expand Down
1 change: 0 additions & 1 deletion custom_components/thermiq_mqtt/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
FIELD_REGNUM,
FIELD_REGTYPE,
FIELD_UNIT,
id_units,
reg_id,
id_names,
)
Expand Down
369 changes: 116 additions & 253 deletions custom_components/thermiq_mqtt/thermiq_regs.py

Large diffs are not rendered by default.

75 changes: 46 additions & 29 deletions lovelace_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,12 @@
entity: input_number.thermiq_mqtt_integral1_curve_p5
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral1_curve_0
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral1_a_limit
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral1_hysteresis_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral1_curve_n5
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_heating_stop_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_reduction_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_heatpump_runtime_m
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_room_factor
- type: custom:fold-entity-row
Expand All @@ -135,16 +129,14 @@
entities:
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_hotwater_start_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_hotwater_stop_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_hotwater_runtime_m
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_legionella_runtime_m
entity: input_number.thermiq_mqtt_heatpump_runtime_m
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_legionella_interval_d
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_legionella_stop_t
- entity: sensor.thermiq_mqtt_legionella_run_on
- entity: sensor.thermiq_mqtt_legionell_run_length_h
- type: custom:fold-entity-row
head:
type: section
Expand All @@ -160,31 +152,44 @@
entity: input_number.thermiq_mqtt_integral2_curve_target
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral2_curve_actual
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral2_a_limit
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral2_hysteresis_t
- type: custom:fold-entity-row
head:
type: section
label: Heater limits
entities:
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral1_a_limit
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral1_hysteresis_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_returnline_max_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_start_interval_min_m
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_brine_min_t
- entity: sensor.thermiq_mqtt_brine_runout_t
- entity: sensor.thermiq_mqtt_brine_run_in
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_pressure_pipe_limit_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_start_interval_min_m
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_outdoor_stop_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_cooling_target_t
- type: custom:fold-entity-row
head:
type: section
label: Curve 2 limits
entities:
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral2_a_limit
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_integral2_hysteresis_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_elect_boiler_steps_max
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_current_consumption_max_a
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_shunt_time_s
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_hotwater_stop_t
- type: custom:fold-entity-row
head:
type: section
Expand All @@ -194,15 +199,27 @@
- entity: sensor.thermiq_mqtt_manual_test_mode_on
- entity: sensor.thermiq_mqtt_factory_reset_req
- entity: sensor.thermiq_mqtt_runtime_counters_reset_req
- entity: sensor.thermiq_mqtt_outdoor_sensor_offset_t
- entity: sensor.thermiq_mqtt_supplyline_sensor_offset_t
- entity: sensor.thermiq_mqtt_returnline_sensor_offset_t
- entity: sensor.thermiq_mqtt_boiler_sensor_offset_t
- entity: sensor.thermiq_mqtt_brine_in_sensor_offset_t
- entity: sensor.thermiq_mqtt_brine_out_sensor_offset_t
- entity: sensor.thermiq_mqtt_heatingsystem_type
- entity: sensor.thermiq_mqtt_internal_logging_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_elect_boiler_steps_max
entity: input_number.thermiq_mqtt_outdoor_sensor_offset_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_current_consumption_max_a
entity: input_number.thermiq_mqtt_supplyline_sensor_offset_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_returnline_sensor_offset_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_boiler_sensor_offset_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_brine_in_sensor_offset_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_brine_out_sensor_offset_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_heatingsystem_type
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_internal_logging_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_brine_runout_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_brine_run_in_t
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_legionella_run_on
- type: custom:numberbox-card
entity: input_number.thermiq_mqtt_legionella_run_length_h
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest-homeassistant-custom-component==0.4.0
pytest-homeassistant-custom-component

0 comments on commit c04f47c

Please sign in to comment.