ekutner / home-connect-hass

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

Option is not valid for select...... _programs #306

Closed ChristophCaina closed 5 months ago

ChristophCaina commented 6 months ago

Describe the bug

for some time now, I am getting the following error logged in HA when I select a coffee on my siemens coffee maker...

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:280
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:20:47 AM (3 occurrences)
Last logged: 10:22:41 AM

[140280081218752] Option is not valid for select.siemens_ti9578x1de_68a40e8445de_programs
[140279431381696] Option is not valid for select.siemens_ti9578x1de_68a40e8445de_programs
[140279438379968] Option is not valid for select.siemens_ti9578x1de_68a40e8445de_programs

[Update] I've selected "coffee" - when this warning appeard. In HA, I got the following message: grafik

It seems, that the select option does not recognize the selected program correctly - or that this is somehow related to the translation?

The select is showing the correct program in the UI... but then, it is throwing this error - but everything is working fine. [Update - end]

And unfortunately, I don't know how to debug this further - what are the numbers in front before "Option"? I've tried to search for the log within the select.py file - but did not find anything with "Option is not valid" there...

Maybe, you can give me a short feedback, if I could modify the source to get some more helpful debug information? I also switched the debug logging from HA on for this integration and can hopefully provide some more info about that error :) I will provide an update then.

Version of the custom_component

1.0.1

Configuration

Debug log

2023-12-31 11:15:16.226 INFO (MainThread) [skodaconnect.connection] Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 295.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': True, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}

2023-12-31 11:15:17.701 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"handling":"none","key":"BSH.Common.Status.LocalControlActive","level":"hint","name":"Lokale Bedienung aktiv","timestamp":1704017717,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.LocalControlActive","value":true},{"displayvalue":"Handlungsbedarf","handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","name":"Betriebsstatus","timestamp":1704017717,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.ActionRequired"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:15:17.701 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.LocalControlActive = True
2023-12-31 11:15:17.702 DEBUG (MainThread) [home_connect_async.appliance] The appliance entered and error operation state: {'displayvalue': 'Handlungsbedarf', 'handling': 'none', 'key': 'BSH.Common.Status.OperationState', 'level': 'hint', 'name': 'Betriebsstatus', 'timestamp': 1704017717, 'uri': '/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.OperationState', 'value': 'BSH.Common.EnumType.OperationState.ActionRequired'}
2023-12-31 11:15:17.702 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.ActionRequired
2023-12-31 11:15:17.702 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.ActionRequired

2023-12-31 11:15:17.937 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"displayvalue":"Laufend","handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","name":"Betriebsstatus","timestamp":1704017717,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.Run"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:15:17.937 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/active (try=1 count=12)

2023-12-31 11:15:20.297 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/active (try=1 count=12) [200]
2023-12-31 11:15:20.298 DEBUG (MainThread) [home_connect_async.appliance] Loaded 7 Options for active/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:15:20.298 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for active Program
2023-12-31 11:15:20.298 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available (try=1 count=13)

2023-12-31 11:15:20.347 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available (try=1 count=13) [200]
2023-12-31 11:15:20.347 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee (try=1 count=14)

2023-12-31 11:15:20.387 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee (try=1 count=14) [200]
2023-12-31 11:15:20.387 DEBUG (MainThread) [home_connect_async.appliance] Loaded 0 Options for available/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:15:20.387 DEBUG (MainThread) [home_connect_async.appliance] Loaded 1 available Programs
2023-12-31 11:15:20.387 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/commands (try=1 count=15)

2023-12-31 11:15:20.431 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/commands (try=1 count=15) [200]
2023-12-31 11:15:20.431 DEBUG (MainThread) [home_connect_async.appliance] Loaded 1 Commands
2023-12-31 11:15:20.432 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.PROGRAM_STARTED = ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:15:20.432 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.432 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.432 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: {'siemens_ti9578x1de_68a40e8445de_active_program', 'siemens_ti9578x1de_68a40e8445de_bsh_common_option_programprogress'}
2023-12-31 11:15:20.432 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.432 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.432 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.433 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-12-31 11:15:20.433 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.433 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.433 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.433 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.433 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.433 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.435 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:15:20.443 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Run
2023-12-31 11:15:20.443 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Run
2023-12-31 11:15:20.444 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"displayvalue":"Caffè Crema","handling":"none","key":"BSH.Common.Root.ActiveProgram","level":"hint","timestamp":1704017718,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/active","value":"ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:15:20.444 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.ActiveProgram = ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:15:20.444 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"handling":"none","key":"BSH.Common.Root.SelectedProgram","level":"hint","timestamp":1704017718,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected","value":null}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:15:20.444 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-12-31 11:15:20.444 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.444 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.444 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.444 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.444 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.445 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:15:20.445 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => None
2023-12-31 11:15:20.446 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.SelectedProgram = None
2023-12-31 11:15:21.119 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-TI9578X1DE-68A40E8445DE')
2023-12-31 11:15:21.810 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"handling":"none","key":"BSH.Common.Status.LocalControlActive","level":"hint","name":"Lokale Bedienung aktiv","timestamp":1704017721,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.LocalControlActive","value":false}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:15:21.810 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.LocalControlActive = False

2023-12-31 11:17:03.706 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"displayvalue":"Beendet","handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","name":"Betriebsstatus","timestamp":1704017823,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.Finished"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:17:03.707 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/commands (try=1 count=16)

2023-12-31 11:17:03.822 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/commands (try=1 count=16) [200]
2023-12-31 11:17:03.823 DEBUG (MainThread) [home_connect_async.appliance] Loaded 1 Commands
2023-12-31 11:17:03.823 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.PROGRAM_FINISHED = ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.823 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-12-31 11:17:03.823 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.823 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.823 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.824 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.824 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.824 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.825 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => None
2023-12-31 11:17:03.826 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_active_program => None
2023-12-31 11:17:03.826 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Finished
2023-12-31 11:17:03.827 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Finished
2023-12-31 11:17:03.871 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"displayvalue":"Caffè Crema","handling":"none","key":"BSH.Common.Root.SelectedProgram","level":"hint","timestamp":1704017823,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected","value":"ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:17:03.871 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected (try=1 count=17)

2023-12-31 11:17:03.875 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140041801260736] Option  is not valid for select.siemens_ti9578x1de_68a40e8445de_programs

2023-12-31 11:17:03.913 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected (try=1 count=17) [200]
2023-12-31 11:17:03.914 DEBUG (MainThread) [home_connect_async.appliance] Loaded 6 Options for selected/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.914 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for selected Program
2023-12-31 11:17:03.914 DEBUG (MainThread) [home_connect_async.appliance] Skipping fetch_available_options() for selected program
2023-12-31 11:17:03.914 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.PROGRAM_SELECTED = ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.914 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.914 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.914 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.915 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.916 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.916 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.917 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.920 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_active_program => None
2023-12-31 11:17:03.920 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-12-31 11:17:03.920 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.921 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.921 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.921 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.921 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.921 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:03.922 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.923 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_active_program => None
2023-12-31 11:17:03.923 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.SelectedProgram = ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.923 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"displayvalue":"Bereit","handling":"none","key":"BSH.Common.Status.OperationState","level":"hint","name":"Betriebsstatus","timestamp":1704017823,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/BSH.Common.Status.OperationState","value":"BSH.Common.EnumType.OperationState.Ready"}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:17:03.923 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected (try=1 count=18)

2023-12-31 11:17:03.966 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected (try=1 count=18) [200]
2023-12-31 11:17:03.966 DEBUG (MainThread) [home_connect_async.appliance] Loaded 6 Options for selected/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:03.966 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for selected Program
2023-12-31 11:17:03.966 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available (try=1 count=19)

2023-12-31 11:17:04.017 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available (try=1 count=19) [200]
2023-12-31 11:17:04.017 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee (try=1 count=20)

2023-12-31 11:17:04.088 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/available/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee (try=1 count=20) [200]
2023-12-31 11:17:04.089 DEBUG (MainThread) [home_connect_async.appliance] Loaded 6 Options for available/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:04.089 DEBUG (MainThread) [home_connect_async.appliance] Loaded 30 available Programs
2023-12-31 11:17:04.089 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/commands (try=1 count=21)

2023-12-31 11:17:04.132 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/commands (try=1 count=21) [200]
2023-12-31 11:17:04.132 DEBUG (MainThread) [home_connect_async.appliance] Loaded 1 Commands
2023-12-31 11:17:04.132 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-12-31 11:17:04.133 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.133 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.133 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.133 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.133 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.133 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.134 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:04.136 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_active_program => None
2023-12-31 11:17:04.136 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Ready
2023-12-31 11:17:04.137 DEBUG (MainThread) [custom_components.home_connect_alt] Published event to Home Assistant event bus: BSH.Common.Status.OperationState = BSH.Common.EnumType.OperationState.Ready
2023-12-31 11:17:04.137 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"handling":"none","key":"BSH.Common.Root.ActiveProgram","level":"hint","timestamp":1704017823,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/active","value":null}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:17:04.137 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Root.ActiveProgram = None
2023-12-31 11:17:04.137 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"handling":"none","key":"BSH.Common.Option.ProgramProgress","level":"hint","name":"aktueller Programmfortschritt","timestamp":1704017823,"unit":"%","uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected/options/BSH.Common.Option.ProgramProgress","value":0}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:17:04.137 DEBUG (MainThread) [home_connect_async.appliance] Got event for unknown property: {'handling': 'none', 'key': 'BSH.Common.Option.ProgramProgress', 'level': 'hint', 'name': 'aktueller Programmfortschritt', 'timestamp': 1704017823, 'unit': '%', 'uri': '/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected/options/BSH.Common.Option.ProgramProgress', 'value': 0}
2023-12-31 11:17:04.137 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected (try=1 count=22)

2023-12-31 11:17:04.182 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/programs/selected (try=1 count=22) [200]
2023-12-31 11:17:04.183 DEBUG (MainThread) [home_connect_async.appliance] Loaded 6 Options for selected/ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:04.183 DEBUG (MainThread) [home_connect_async.appliance] Loaded data for selected Program
2023-12-31 11:17:04.183 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: Events.DATA_CHANGED = None
2023-12-31 11:17:04.183 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.183 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.183 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.184 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.184 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.184 DEBUG (MainThread) [custom_components.home_connect_alt.common] Registering new entities: set()
2023-12-31 11:17:04.184 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_selected_program => ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee
2023-12-31 11:17:04.185 DEBUG (MainThread) [custom_components.home_connect_alt.sensor] Updating sensor siemens_ti9578x1de_68a40e8445de_active_program => None
2023-12-31 11:17:04.186 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Option.ProgramProgress = 0
2023-12-31 11:17:04.186 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='STATUS', message='STATUS', data='{"haId":"SIEMENS-TI9578X1DE-68A40E8445DE","items":[{"handling":"none","key":"ConsumerProducts.CoffeeMaker.Status.BeverageCounterCoffee","level":"hint","name":"Anzahl Kaffeegetränke","timestamp":1704017823,"uri":"/api/homeappliances/SIEMENS-TI9578X1DE-68A40E8445DE/status/ConsumerProducts.CoffeeMaker.Status.BeverageCounterCoffee","value":2591}]}', origin='https://api.home-connect.com', last_event_id='SIEMENS-TI9578X1DE-68A40E8445DE')
2023-12-31 11:17:04.186 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: ConsumerProducts.CoffeeMaker.Status.BeverageCounterCoffee = 2591
ekutner commented 6 months ago

Please follow these steps:

  1. Make sure logging is enabled for the integration.
  2. Set the Log Mode option value in the integration configuration to 7.
  3. Restart HA.
  4. Select the program that causes this error.
  5. Press the "Home Connect Debug Info" button in the HA dashboard (add it to a dashboard if it wasn't automatically added).
  6. Upload the complete log file here.