Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Register 2, 4, 6 values min_max with checking Register 2 min/m…
…ax which depends on emmission type installed (#60) * Update heatpump.yaml min max temp register 2, 4, 6 Register 2 with checks for min and max allowed temp depends for emmission types -unfortunatelly it is impossible to set min_value and max_value in lambda ;( * Update CHANGELOG.md * Update heatpump.yaml Update Register 210 -move R/O sensor to binary_sensor I'm sorry -i was missed some Register 210 bits that is ReadOnly -this move these back to binary sensors ;) * Update heatpump.yaml Update Register 272 Changed in lambda mapping array position to if condition check to avoid error in array select ;) * Update heatpump.yaml Commented in lambda ESP_LOG * Update heatpump.yaml restoring extracting 4-bit values * Update heatpump.yaml corrections of zones decode * Update heatpump.yaml remove reg:272 bit 12-15 mapping global from x ;) * Update heatpump.yaml removed extra line * Update heatpump.yaml reduced to max 60deg setting t1s * Update heatpump.yaml reverted lambda and write_lambda changes register 2 Rebverted in write lmabda: // Apply minmax for standard temp auto operation_state = id(${devicename}_operational_mode).state; auto end_heating_unit = id(${devicename}_zone_2_end_heating_mode_emission_type).state; auto end_cooling_unit = id(${devicename}_zone_2_end_cooling_mode_emission_type).state; if (operation_state == "Cool") { if (x < 5 and end_cooling_unit == "Fan Coil Unit") value_byte = 5; if (x < 18 and end_cooling_unit != "Fan Coil Unit") value_byte = 18; if (x >25) value_byte = 25; } else if (operation_state == "Heat") { if (x < 25 and end_heating_unit == "Underfloor Heating") value_byte = 25; if (x > 55 and end_heating_unit == "Underfloor Heating") value_byte = 55; if (x < 35 and end_heating_unit == "Radiator") value_byte = 35; if (x > 60 and end_heating_unit == "Radiator") value_byte = 60; } * Update heatpump.yaml Removed spaces in globals registers 210
- Loading branch information