Need help for -> Push "Shelly Button 1" -> HELPER "ha_epex_spot_sensor" looks when energy is a the cheapest price -> start dishwasher (or any device)

Hi,

“Deleted unnecessary introduction text…and restructured my post” - thanks for the advice!

What I like to have / automate (should be a warm up :frowning: ):

  • Push “Shelly Button 1” (different actions worked)
  • “Helper” should look for the cheapest price → if true
    ** Use this HELPER GitHub Helper ha_epex_spot_sensor
  • Dishwasher (or any device) should start with the specific program
  • Optional:
    ** Voice outcome → tell me when the dishwasher will start / will be finished
    ** Notification when the dishwasher will start / will be finished

I was here…

Situation now:

  • Siemens dish washer
  • “Helper” from here GitHub Helper ha_epex_spot_sensor - I’d like to go with that
    ** I’m on an Austrian provider “SmartEnergy AT”
  • Shelly button configured and set up
  • Using a “Automation”

Questions?
? Is there something wrong with the “And if” condition
? Do I have to use “Then” with sequenced actions → Entity “look for prices” → start the dishwasher

“Automation configuration”

id: '1735831353949'
alias: Shelly Button Geschirrspüler_günstigste-Stunde_bis_07:00
description: ''
triggers:
  - device_id: bfbf423cd3ee9f4f4cd88eef1ba8b505
    domain: shelly
    type: single
    subtype: button
    trigger: device
conditions:
  - condition: state
    entity_id: binary_sensor.strompreis_gunstigste_1_stunde_bis_07_00
    attribute: earliest_start_time
    state: Wahr
actions:
  - type: turn_on
    device_id: ac726b27da7e27d5ac101fa62266673b
    entity_id: 8499054c55e5a4ae9a43bb6c7aa54d71
    domain: switch
mode: single

“Changed variables”

this:
  entity_id: automation.shelly_button_geschirrspuler_test
  state: 'on'
  attributes:
    id: '1735831353949'
    last_triggered: '2025-01-02T21:35:53.009512+00:00'
    mode: single
    current: 0
    friendly_name: Shelly Button Geschirrspüler_günstigste-Stunde_bis_07:00
  last_changed: '2025-01-04T08:09:13.108253+00:00'
  last_reported: '2025-01-04T08:09:13.108253+00:00'
  last_updated: '2025-01-04T08:09:13.108253+00:00'
  context:
    id: 01JGR5RX4KZFFP5D8J6SY3DJ0A
    parent_id: null
    user_id: 2c5d39754f694e449ed481a83b5e245e
trigger:
  id: '0'
  idx: '0'
  alias: null
  platform: device
  event:
    event_type: shelly.click
    data:
      device_id: bfbf423cd3ee9f4f4cd88eef1ba8b505
      device: shellybutton1-4417932262EE
      channel: 1
      click_type: single
      generation: 1
    origin: LOCAL
    time_fired: '2025-01-04T08:10:41.206467+00:00'
    context:
      id: 01JGR5VK5PGQF5N49D5H7C75TF
      parent_id: null
      user_id: null
  description: event 'shelly.click'

Screenshot shows how I set up the automation using the GUI and how I defined the above mentioned helper

Automation-Helper-Definition

Meanwhile I’ll do further researches and proceed with my attempts.

Thank you in advance for a tip to solve my solution.

BR