Fabian-Schmidt / esphome-truma_inetbox

ESPHome component to remote control Truma CP Plus Heater
GNU General Public License v3.0
37 stars 7 forks source link

Configuration of the Timer settings initilized from Home Assistant #33

Open Karatzie opened 6 months ago

Karatzie commented 6 months ago

Hi Fabian.

I saw in your truma.yaml a function to configure the timer settings.

This function uses fixet settings and can not be changed by Home Assistant. We use our camper van in different location with different climate zones. I would like to predefine different timer settings on scenes in HA.

I tried to add additional template functions to predefine different timer settings. This solutions didn't work. As next step, I tried to send the different settings from Home Assistant to ESPHome. I was able to send the timer_target_room_temperature and the timer_target_water_temperature from HA to ESPHome. At the end I was not able to insert this timer_target values in the Activate Timer function. ESPHome displays an error that the code expect int and not float.

My next problem was following. I did not find a function to transfer the start and stop time from HA to ESPHome. I tried to transfer the start_hour, the start_minute, the stop_hour and the stop_minute with different HA input_number helper. I did not find a solution to add the timer settings in your code.

Is it possible, that you add the needed settings as seperate entitys in your code. In this case all users can change and activate the timer settings from HA.

Please add the needed entitys.

Best regards,

Andreas (karatzie)

Karatzie commented 3 months ago

Hi Fabian,

have you read this improvement?

Best regards Andreas (karatzie)