Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration of the Timer settings initilized from Home Assistant #33

Open
Karatzie opened this issue Apr 18, 2024 · 1 comment
Open

Comments

@Karatzie
Copy link

Karatzie commented Apr 18, 2024

Hi Fabian.

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

  • platform: template
    name: "Aktiviere Timer"
    lambda: |-
    return id(TIMER_ACTIVE).state;
    turn_on_action:
    • truma_inetbox.timer.activate:
      start: 7:05
      stop: 8:05
      Required: Set room temp to a number between 5 and 30
      room_temperature: 18
      Optional: Set heating mode: "OFF", ECO, HIGH, BOOST
      heating_mode: ECO
      Optional: Set water temp as number: 0, 40, 60, 80
      water_temperature: 40
      Optional: Set energy mix to: GAS, MIX, ELECTRICITY
      energy_mix: GAS
      Optional: Set electricity level to 0, 900, 1800
      watt: 0

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
Copy link
Author

Hi Fabian,

have you read this improvement?

Best regards
Andreas (karatzie)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant