ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
569 stars 55 forks source link

Cooking.Oven.Event.PreheatFinished #370

Closed geoced closed 5 months ago

geoced commented 5 months ago

Is your feature request related to a problem? Please describe. The official HC API documentation says that this event (Cooking.Oven.Event.PreheatFinished) is triggered when program option FastPreheat is active and the preheating phase is finished. But I don't see it in the lists of possible triggers when I select my Siemens device.

Describe the solution you'd like I'd like to be able to trigger an automation when fast preheat has finished.

Describe alternatives you've considered I've tried an event trigger but it didn't work. I used to do this with IFTTT but I'd like to remove as many cloud dependencies as possible.

Oven model: Siemens HB578A0S6 HC alt v1.1.6

ekutner commented 5 months ago

If the event is indeed published by the API it will also be published to the HA event bus by the integration. You should listen for it with an automation or the developer tools.

geoced commented 5 months ago

I tried to listen for the event in the dev tools but it never triggered, even though my oven did complete its preheat phase.

Am I doing something wrong ?

image

ekutner commented 5 months ago

read the documentation please the event type you should be listening to is home_connect_alt_event

geoced commented 5 months ago

Thanks ! I missed that information. I was able to trigger an automation with:

trigger:
  - platform: event
    event_type: home_connect_alt_event
    event_data:
      key: Cooking.Oven.Event.PreheatFinished