I’m moving from openHab to Home Assistant. With the openHab integration I had those temperature values and used them for my automations. Now I’m missing them, too!
Could someone please add those values? They are available in the API and adding them takes only a few minutes.
I don’t want to be ungrateful. This integration ist great for most of my home-connect dervices, but…
I just connected my oven, created a nice dashboard for the kitchen and realized that setting up cooking programs for it is meaningless since time and temperature of the active program can’t be changed. Somehow frustrating!
i am expressing support for the idea of adding setpoint and current temp to the integration.
optimistically… i can set the oven temp through the Home Connect app, so i am hopeful it will at some point be possible through the integration as well.
I am still looking forward to this feature in the official integration but I found two workarounds I would like to share with the community until this is done:
The installation can do done via HACS and the rest is pretty similar to the original integration. But there are many (and different) entities, including temperature and duration for ovens.
There are a few things i would call “disadvantages”, (for example no dedicated power-button) but those “issues” can be fixed with helpers or if you just mix the functionalities of the original and the alternative integrations.
Automations
You can create automations that sets the temperature and duration with the “set_option_active”-action.
The original integration brings this action which allows to change states, which can be fount in the BSH API documentation, for example Setpoint Temperature Option.
You have to set up a few things to use this in a dashboard, but I can point you to my solution:
a. Create a number_input-helper (lets call it “temp_in”)
b. Use this helper in the dashboard where you want to be able to set the temperature
c. Create an automation that sends the value to the oven on change of temp_in:
alias: Set Oven Temp
description: ""
triggers:
- trigger: state
entity_id:
- input_number.temp_in
from: null
to: null
conditions: []
actions:
- action: home_connect.set_option_active
metadata: {}
data:
device_id: *****************************
key: Cooking.Oven.Option.SetpointTemperature
value: "{{ states('input_number.temp_in')|int }}"
mode: single
I created the automation with the editor, so that divice_id was automatically filled.
This should work with the duration as well. Just change the endpoint according to the API documentation and use some “magic” on the value so you don’t have to use seconds as format.