ekutner / home-connect-hass

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

home_connect_alt.select_program in 0.7.0 executes program #277

Closed steve-hodgkiss closed 8 months ago

steve-hodgkiss commented 9 months ago

Select program service executes program (different behaviour from 0.6)

Version of the custom_component

0.7.0-b3

Configuration

  - service: home_connect_alt.select_program
    data:
      validate: false
      device_id: {{guid}}
      program_key: ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso

Debug log

Can supply if needed

ekutner commented 9 months ago

There isn't any change in 0.7, which I can think of, that would cause this, so yeah, please provide the log (with log_mode: 7).

steve-hodgkiss commented 9 months ago

Here you go. Automation config is:

alias: Coffee Test
description: ""
trigger: []
condition: []
action:
  - device_id: b257b105f5a86ac81e1060cc2387a131
    domain: select
    entity_id: c5b96cc5239e230cbcd715f4c41a65f0
    type: select_option
    option: BSH.Common.EnumType.PowerState.On
  - delay:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
  - wait_for_trigger:
      - platform: state
        entity_id:
          - >-
            sensor.siemens_ct836leb6_abcdefghijkl_bsh_common_status_operationstate
        to: BSH.Common.EnumType.OperationState.Ready
        for:
          hours: 0
          minutes: 0
          seconds: 5
    timeout:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 0
    continue_on_timeout: true
  - service: home_connect_alt.select_program
    data:
      validate: false
      device_id: b257b105f5a86ac81e1060cc2387a131
      program_key: ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
mode: single

Debug is...

2023-10-30 19:26:09.741 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='SIEMENS-WT48XRH9GB-68A40E4495E4')
2023-10-30 19:26:42.074 DEBUG (MainThread) [home_connect_async.api] 
HTTP PUT /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/settings/BSH.Common.Setting.PowerState (try=1 count=1398)
{
  "data": {
    "key": "BSH.Common.Setting.PowerState",
    "value": "BSH.Common.EnumType.PowerState.On"
  }
}

2023-10-30 19:26:42.215 DEBUG (MainThread) [home_connect_async.api] HTTP PUT /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/settings/BSH.Common.Setting.PowerState (try=1 count=1398) [204]
2023-10-30 19:26:52.219 DEBUG (MainThread) [home_connect_async.api] 
HTTP PUT /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active (try=1 count=1399)
{
  "data": {
    "key": "ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso",
    "options": []
  }
}

2023-10-30 19:26:52.470 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","timestamp":1698694012,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.ActionRequired"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:26:52.470 DEBUG (MainThread) [home_connect_async.appliance] The appliance entered and error operation state: {'handling': 'none', 'key': 'BSH.Common.Status.OperationState', 'level': 'hint', 'timestamp': 1698694012, 'uri': '/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/status/BSH.Common.Status.OperationState', 'value': 'BSH.Common.EnumType.OperationState.ActionRequired'}
2023-10-30 19:26:52.470 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.ActionRequired
2023-10-30 19:26:52.470 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.ActionRequired
2023-10-30 19:26:53.024 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","timestamp":1698694013,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.Run"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:26:53.024 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Run
2023-10-30 19:26:53.025 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Run
2023-10-30 19:26:53.114 DEBUG (MainThread) [home_connect_async.api] HTTP PUT /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active (try=1 count=1399) [204]
2023-10-30 19:26:53.114 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Root.ActiveProgram","level":"hint","timestamp":1698694013,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active","value":"ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:26:53.114 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.ActiveProgram = ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:26:53.121 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Root.SelectedProgram","level":"hint","timestamp":1698694013,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected","value":null}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:26:53.121 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-10-30 19:26:53.122 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:26:53.125 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => None
2023-10-30 19:26:53.127 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.SelectedProgram = None
2023-10-30 19:27:04.742 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:05.513 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694025,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":6}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:05.514 DEBUG (MainThread) [home_connect_async.appliance] Got event for unknown property: {'handling': 'none', 'key': 'BSH.Common.Option.ProgramProgress', 'level': 'hint', 'timestamp': 1698694025, 'unit': '%', 'uri': '/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress', 'value': 6}
2023-10-30 19:27:05.514 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active (try=1 count=1400)

2023-10-30 19:27:05.560 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active (try=1 count=1400) [200]
2023-10-30 19:27:05.561 DEBUG (MainThread) [home_connect_async.appliance] Loaded 5 Options for active/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:05.561 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for active Program
2023-10-30 19:27:05.562 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-10-30 19:27:05.562 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:05.567 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => None
2023-10-30 19:27:05.568 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 6
2023-10-30 19:27:06.515 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694026,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":10}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:06.515 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 10
2023-10-30 19:27:07.517 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694027,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":13}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:07.517 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 13
2023-10-30 19:27:08.515 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694028,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":16}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:08.515 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 16
2023-10-30 19:27:09.516 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694029,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":19}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:09.516 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 19
2023-10-30 19:27:10.515 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694030,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":22}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:10.515 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 22
2023-10-30 19:27:11.517 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694031,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":24}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:11.517 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 24
2023-10-30 19:27:12.518 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694032,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":28}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:12.518 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 28
2023-10-30 19:27:13.518 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694033,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":29}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:13.518 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 29
2023-10-30 19:27:14.517 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694034,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":32}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:14.518 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 32
2023-10-30 19:27:15.518 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694035,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":36}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:15.518 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 36
2023-10-30 19:27:16.572 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694036,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":39}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:16.573 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 39
2023-10-30 19:27:17.517 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694037,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":42}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:17.518 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 42
2023-10-30 19:27:18.519 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694038,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":45}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:18.519 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 45
2023-10-30 19:27:19.519 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694039,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":49}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:19.519 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 49
2023-10-30 19:27:20.587 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694040,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":52}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:20.587 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 52
2023-10-30 19:27:21.522 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694041,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":56}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:21.523 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 56
2023-10-30 19:27:22.520 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694042,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":60}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:22.520 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 60
2023-10-30 19:27:23.520 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694043,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":63}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:23.520 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 63
2023-10-30 19:27:24.523 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694044,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":67}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:24.523 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 67
2023-10-30 19:27:25.521 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694045,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":71}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:25.521 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 71
2023-10-30 19:27:26.523 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694046,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":75}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:26.523 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 75
2023-10-30 19:27:27.522 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694047,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":79}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:27.523 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 79
2023-10-30 19:27:28.522 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694048,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":82}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:28.523 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 82
2023-10-30 19:27:29.526 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694049,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":86}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:29.526 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 86
2023-10-30 19:27:30.528 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694050,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":90}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:30.528 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 90
2023-10-30 19:27:31.524 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694051,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":94}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:31.525 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 94
2023-10-30 19:27:32.524 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694052,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active/options/BSH.Common.Option.ProgramProgress","value":100}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:32.524 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 100
2023-10-30 19:27:40.492 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","timestamp":1698694060,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.Finished"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:40.493 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/commands (try=1 count=1401)

2023-10-30 19:27:40.603 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/commands (try=1 count=1401) [200]
2023-10-30 19:27:40.604 DEBUG (MainThread) [home_connect_async.appliance] Loaded 1 Commands
2023-10-30 19:27:40.604 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.PROGRAM_FINISHED = ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.604 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registring new entities: set()
2023-10-30 19:27:40.604 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registring new entities: set()
2023-10-30 19:27:40.605 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registring new entities: set()
2023-10-30 19:27:40.605 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-10-30 19:27:40.606 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => None
2023-10-30 19:27:40.612 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => None
2023-10-30 19:27:40.614 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Finished
2023-10-30 19:27:40.614 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Finished
2023-10-30 19:27:40.618 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Root.SelectedProgram","level":"hint","timestamp":1698694060,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected","value":"ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:40.618 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected (try=1 count=1402)

2023-10-30 19:27:40.660 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected (try=1 count=1402) [200]
2023-10-30 19:27:40.661 DEBUG (MainThread) [home_connect_async.appliance] Loaded 4 Options for selected/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.662 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for selected Program
2023-10-30 19:27:40.662 DEBUG (MainThread) [home_connect_async.appliance] Skipping fetch_available_options() for selected program
2023-10-30 19:27:40.662 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.PROGRAM_SELECTED = ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.662 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registring new entities: set()
2023-10-30 19:27:40.662 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registring new entities: set()
2023-10-30 19:27:40.662 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registring new entities: set()
2023-10-30 19:27:40.663 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => None
2023-10-30 19:27:40.670 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.673 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-10-30 19:27:40.673 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => None
2023-10-30 19:27:40.678 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.680 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.SelectedProgram = ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.681 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Root.ActiveProgram","level":"hint","timestamp":1698694060,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/active","value":null}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:40.681 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.ActiveProgram = None
2023-10-30 19:27:40.681 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","timestamp":1698694060,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.Ready"},{"handling":"none","key":"ConsumerProducts.CoffeeMaker.Status.BeverageCounterRistrettoEspresso","level":"hint","timestamp":1698694060,"uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/status/ConsumerProducts.CoffeeMaker.Status.BeverageCounterRistrettoEspresso","value":3527}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:40.681 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected (try=1 count=1403)

2023-10-30 19:27:40.719 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected (try=1 count=1403) [200]
2023-10-30 19:27:40.721 DEBUG (MainThread) [home_connect_async.appliance] Loaded 4 Options for selected/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.721 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for selected Program
2023-10-30 19:27:40.721 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/available (try=1 count=1404)

2023-10-30 19:27:40.761 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/available (try=1 count=1404) [200]
2023-10-30 19:27:40.762 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/available/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso (try=1 count=1405)

2023-10-30 19:27:40.807 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/available/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso (try=1 count=1405) [200]
2023-10-30 19:27:40.808 DEBUG (MainThread) [home_connect_async.appliance] Loaded 4 Options for available/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.808 DEBUG (MainThread) [home_connect_async.appliance] Loaded 27 available Programs
2023-10-30 19:27:40.808 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/commands (try=1 count=1406)

2023-10-30 19:27:40.850 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/commands (try=1 count=1406) [200]
2023-10-30 19:27:40.850 DEBUG (MainThread) [home_connect_async.appliance] Loaded 1 Commands
2023-10-30 19:27:40.850 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-10-30 19:27:40.851 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => None
2023-10-30 19:27:40.854 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.856 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Ready
2023-10-30 19:27:40.856 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Ready
2023-10-30 19:27:40.858 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: ConsumerProducts.CoffeeMaker.Status.BeverageCounterRistrettoEspresso = 3527
2023-10-30 19:27:40.858 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-CT836LEB6-abcdefghijkl","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","timestamp":1698694060,"unit":"%","uri":"/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected/options/BSH.Common.Option.ProgramProgress","value":0}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:27:40.859 DEBUG (MainThread) [home_connect_async.appliance] Got event for unknown property: {'handling': 'none', 'key': 'BSH.Common.Option.ProgramProgress', 'level': 'hint', 'timestamp': 1698694060, 'unit': '%', 'uri': '/api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected/options/BSH.Common.Option.ProgramProgress', 'value': 0}
2023-10-30 19:27:40.859 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected (try=1 count=1407)

2023-10-30 19:27:40.905 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-CT836LEB6-abcdefghijkl/programs/selected (try=1 count=1407) [200]
2023-10-30 19:27:40.907 DEBUG (MainThread) [home_connect_async.appliance] Loaded 4 Options for selected/ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.907 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for selected Program
2023-10-30 19:27:40.907 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-10-30 19:27:40.908 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_active_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.911 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ct836leb6_abcdefghijkl_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
2023-10-30 19:27:40.914 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 0
2023-10-30 19:27:59.742 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
2023-10-30 19:28:03.309 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='SIEMENS-CT836LEB6-abcdefghijkl')
Rep-Hueman commented 9 months ago

I'm having the same problem now. Coffee is made immediately instead of first being selected

ekutner commented 9 months ago

This issue seems to be related to changes in the even handling mechanism. It seems that the internal state indicates there is an active program. I'm going to need a full log, not just an excerpt and I'm going to need you to press the "Home Connect Debug Info" button before you try to select the program.

steve-hodgkiss commented 9 months ago

Here's a more detailed log home-assistant.log

ekutner commented 9 months ago

I can't find anything wrong in the log. The only call to activate a program is for the coffee machine at 11:22. It is preceded by a program that finished at 11:21 which should have cleared the active program. To further debug this:

  1. Set log_mode:7 in the home_connect_alt section of configuration.yaml and restart HA
  2. Press the Home Connect Debug Info button.
  3. Reproduce the issue by calling the select_program service from the developer tools->services page, not by using an automation. 4 Upload the log again.
steve-hodgkiss commented 9 months ago

home-assistant.log Ok - here you go. Took me a while to load it into a test instance. The select program seems to work fine if the following oder is followed:

To get the select program "making the coffee":

ekutner commented 8 months ago

Thanks, version 0.7.0-b5 should fix this.

steve-hodgkiss commented 8 months ago

Thanks - confirmed as fixed. Closing issue