wrodie / ha_behringer_mixer

Home Assistant integration for Behringer Digital Mixers eg (X32)
MIT License
13 stars 0 forks source link

Unable to interact with x32-rack device once it goes through a power cycle. #39

Closed manrajsingh closed 6 months ago

manrajsingh commented 6 months ago

System Health details

System Information

version core-2024.3.0
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.0-17-amd64
arch x86_64
timezone America/Los_Angeles
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4998 Installed Version | 1.34.0 Stage | running Available Repositories | 1406 Downloaded Repositories | 3 HACS Data | ok
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 1 -- | -- resources | 1 views | 2 mode | storage
Recorder oldest_recorder_run | January 15, 2024 at 5:16 PM -- | -- current_recorder_run | March 12, 2024 at 4:15 PM estimated_db_size | 1054.77 MiB database_engine | mysql database_version | 11.2.2

Checklist

Describe the issue

When the x32-rack device is turned off, the following error is logged

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/ha_behringer_mixer/api.py:83
integration: Behringer Mixer (documentation, issues)
First occurred: March 12, 2024 at 4:16:16 PM (1 occurrences)
Last logged: March 12, 2024 at 4:16:16 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/behringer_mixer/mixer_base.py", line 117, in subscribe
    await self._subscribe_worker("/xremote", callback_function)
  File "/usr/local/lib/python3.12/site-packages/behringer_mixer/mixer_base.py", line 138, in _subscribe_worker
    self._subscription_status_callback(
  File "/config/custom_components/ha_behringer_mixer/api.py", line 93, in subscription_status_callback
    self.new_data_callback({})
  File "/config/custom_components/ha_behringer_mixer/api.py", line 83, in new_data_callback
    if data.get("property").endswith("_db"):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'endswith'

and when you turn the x32-rack device back on, I am unable to make service calls to change scenes, toggle switches or change faders. for example I use the following to switch between scenes.

service: number.set_value
target:
  device_id: 454c68f4269b4816e39692f1d330a092
data:
  value: "1"

Reproduction steps

  1. Restart Home-assistant. Everything should be in working state at this point.
  2. Test your service calls, in my case, switch scenes .. or turn on off other switches or change faders.
    service: number.set_value
    target:
      device_id: your-x32-device-id
    data:
      value: "1"

    Scenes switch just fine for me at this point and other switches and faders behave as expected.

  3. Turn off your x32 device. The following error is logged

    Logger: homeassistant
    Source: custom_components/ha_behringer_mixer/api.py:83
    integration: Behringer Mixer ([documentation](https://github.com/wrodie/ha_behringer_mixer), [issues](https://github.com/wrodie/ha_behringer_mixer/issues))
    First occurred: 8:38:34 AM (1 occurrences)
    Last logged: 8:38:34 AM
    Error doing job: Task exception was never retrieved
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.12/site-packages/behringer_mixer/mixer_base.py", line 117, in subscribe
        await self._subscribe_worker("/xremote", callback_function)
      File "/usr/local/lib/python3.12/site-packages/behringer_mixer/mixer_base.py", line 138, in _subscribe_worker
        self._subscription_status_callback(
      File "/config/custom_components/ha_behringer_mixer/api.py", line 93, in subscription_status_callback
        self.new_data_callback({})
      File "/config/custom_components/ha_behringer_mixer/api.py", line 83, in new_data_callback
        if data.get("property").endswith("_db"):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'endswith'
  4. Turn on your x32 device and try to make a service call or other interaction as specified in step 2. Scene does not switch, switch states dont change upon toggling, faders remain unchanged. No new log entry is made either.

Debug logs

2024-03-13 09:21:35.655 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-13 09:21:35.655 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration ha_behringer_mixer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-13 09:21:35.725 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds
2024-03-13 09:21:35.755 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2024-03-13 09:21:35.768 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2024-03-13 09:21:35.768 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds
2024-03-13 09:21:35.768 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2024-03-13 09:21:35.771 INFO (MainThread) [homeassistant.setup] Setting up http
2024-03-13 09:21:35.773 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds
2024-03-13 09:21:35.788 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds
2024-03-13 09:21:35.789 INFO (MainThread) [homeassistant.setup] Setting up auth
2024-03-13 09:21:35.790 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds
2024-03-13 09:21:35.793 INFO (MainThread) [homeassistant.setup] Setting up config
2024-03-13 09:21:35.834 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.0 seconds
2024-03-13 09:21:35.838 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2024-03-13 09:21:35.841 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.0 seconds
2024-03-13 09:21:35.845 INFO (MainThread) [homeassistant.setup] Setting up repairs
2024-03-13 09:21:35.845 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.0 seconds
2024-03-13 09:21:35.846 INFO (MainThread) [homeassistant.setup] Setting up api
2024-03-13 09:21:35.848 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds
2024-03-13 09:21:35.853 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2024-03-13 09:21:35.853 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.0 seconds
2024-03-13 09:21:35.854 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2024-03-13 09:21:35.854 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds
2024-03-13 09:21:35.878 INFO (MainThread) [homeassistant.setup] Setting up image_upload
2024-03-13 09:21:35.890 INFO (MainThread) [homeassistant.setup] Setting up search
2024-03-13 09:21:35.890 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds
2024-03-13 09:21:35.893 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.0 seconds
2024-03-13 09:21:35.898 INFO (MainThread) [homeassistant.setup] Setting up person
2024-03-13 09:21:35.901 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.0 seconds
2024-03-13 09:21:36.437 INFO (MainThread) [homeassistant.setup] Setting up analytics
2024-03-13 09:21:36.438 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.0 seconds
2024-03-13 09:21:36.439 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2024-03-13 09:21:36.439 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds
2024-03-13 09:21:36.440 INFO (MainThread) [homeassistant.setup] Setting up frontend
2024-03-13 09:21:36.443 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds
2024-03-13 09:21:36.444 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2024-03-13 09:21:36.445 INFO (MainThread) [homeassistant.setup] Setting up recorder
2024-03-13 09:21:36.465 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
2024-03-13 09:21:36.635 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.2 seconds
2024-03-13 09:21:36.637 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'ssdp', 'cloud', 'network', 'http', 'zeroconf', 'api', 'bluetooth', 'websocket_api', 'usb', 'webhook', 'dhcp'}
2024-03-13 09:21:36.638 INFO (MainThread) [homeassistant.setup] Setting up network
2024-03-13 09:21:36.639 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.0 seconds
2024-03-13 09:21:36.641 INFO (MainThread) [homeassistant.setup] Setting up webhook
2024-03-13 09:21:36.641 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds
2024-03-13 09:21:36.647 INFO (SyncWorker_4) [homeassistant.loader] Loaded matter from homeassistant.components.matter
2024-03-13 09:21:36.656 INFO (MainThread) [homeassistant.setup] Setting up usb
2024-03-13 09:21:36.662 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.0 seconds
2024-03-13 09:21:36.698 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2024-03-13 09:21:36.699 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.0 seconds
2024-03-13 09:21:36.786 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2024-03-13 09:21:36.790 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds
2024-03-13 09:21:36.794 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2024-03-13 09:21:36.817 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2024-03-13 09:21:36.821 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds
2024-03-13 09:21:37.276 INFO (MainThread) [homeassistant.setup] Setting up cloud
2024-03-13 09:21:37.290 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds
2024-03-13 09:21:37.292 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg
2024-03-13 09:21:37.430 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 0.1 seconds
2024-03-13 09:21:37.433 INFO (MainThread) [homeassistant.setup] Setting up tts
2024-03-13 09:21:37.440 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds
2024-03-13 09:21:37.449 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2024-03-13 09:21:37.472 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.0 seconds
2024-03-13 09:21:37.474 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'wake_word', 'met', 'my', 'analytics', 'input_number', 'sun', 'history', 'tplink', 'input_boolean', 'input_text', 'counter', 'mobile_app', 'input_button', 'media_source', 'stt', 'onboarding', 'input_datetime', 'scene', 'lyric', 'diagnostics', 'stream', 'ha_behringer_mixer', 'map', 'conversation', 'logbook', 'search', 'ffmpeg', 'application_credentials', 'zone', 'hardware', 'hacs', 'tag', 'blueprint', 'timer', 'homeassistant_alerts', 'system_health', 'file_upload', 'backup', 'image_upload', 'config', 'assist_pipeline', 'default_config', 'device_automation', 'google_translate', 'person', 'schedule', 'lovelace', 'auth', 'energy', 'tts', 'script', 'persistent_notification', 'trace', 'repairs', 'automation', 'input_select'}
2024-03-13 09:21:37.531 INFO (MainThread) [homeassistant.setup] Setting up hacs
2024-03-13 09:21:37.531 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 0.0 seconds
2024-03-13 09:21:37.532 INFO (MainThread) [homeassistant.setup] Setting up wake_word
2024-03-13 09:21:37.532 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.0 seconds
2024-03-13 09:21:37.534 INFO (MainThread) [homeassistant.setup] Setting up my
2024-03-13 09:21:37.534 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.0 seconds
2024-03-13 09:21:37.541 INFO (MainThread) [homeassistant.setup] Setting up met
2024-03-13 09:21:37.542 INFO (MainThread) [homeassistant.setup] Setup of domain met took 0.0 seconds
2024-03-13 09:21:37.543 INFO (MainThread) [homeassistant.setup] Setting up tag
2024-03-13 09:21:37.544 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2024-03-13 09:21:37.544 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.0 seconds
2024-03-13 09:21:37.545 INFO (MainThread) [homeassistant.setup] Setting up timer
2024-03-13 09:21:37.548 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2024-03-13 09:21:37.548 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.0 seconds
2024-03-13 09:21:37.549 INFO (MainThread) [homeassistant.setup] Setting up system_health
2024-03-13 09:21:37.556 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds
2024-03-13 09:21:37.556 INFO (MainThread) [homeassistant.setup] Setting up input_number
2024-03-13 09:21:37.557 INFO (MainThread) [homeassistant.setup] Setting up sun
2024-03-13 09:21:37.558 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds
2024-03-13 09:21:37.569 INFO (MainThread) [homeassistant.setup] Setting up history
2024-03-13 09:21:37.570 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds
2024-03-13 09:21:37.571 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2024-03-13 09:21:37.574 INFO (MainThread) [homeassistant.setup] Setting up input_text
2024-03-13 09:21:37.577 INFO (MainThread) [homeassistant.setup] Setting up counter
2024-03-13 09:21:37.578 INFO (MainThread) [homeassistant.setup] Setting up conversation
2024-03-13 09:21:37.579 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds
2024-03-13 09:21:37.584 INFO (MainThread) [homeassistant.setup] Setting up stt
2024-03-13 09:21:37.584 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.0 seconds
2024-03-13 09:21:37.619 INFO (MainThread) [homeassistant.setup] Setting up logbook
2024-03-13 09:21:37.648 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds
2024-03-13 09:21:37.651 INFO (MainThread) [homeassistant.setup] Setting up map
2024-03-13 09:21:37.651 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds
2024-03-13 09:21:37.652 INFO (MainThread) [homeassistant.setup] Setting up media_source
2024-03-13 09:21:37.676 INFO (MainThread) [homeassistant.setup] Setting up stream
2024-03-13 09:21:37.783 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.1 seconds
2024-03-13 09:21:37.784 INFO (MainThread) [homeassistant.setup] Setting up input_button
2024-03-13 09:21:37.786 INFO (MainThread) [homeassistant.setup] Setting up google_translate
2024-03-13 09:21:37.786 INFO (MainThread) [homeassistant.setup] Setup of domain google_translate took 0.0 seconds
2024-03-13 09:21:37.794 INFO (MainThread) [homeassistant.setup] Setting up schedule
2024-03-13 09:21:37.796 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2024-03-13 09:21:37.797 INFO (MainThread) [homeassistant.setup] Setting up scene
2024-03-13 09:21:37.798 INFO (MainThread) [homeassistant.components.scene] Setting up homeassistant.scene
2024-03-13 09:21:37.799 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.0 seconds
2024-03-13 09:21:37.803 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
2024-03-13 09:21:37.811 INFO (MainThread) [homeassistant.setup] Setting up ha_behringer_mixer
2024-03-13 09:21:37.811 INFO (MainThread) [homeassistant.setup] Setup of domain ha_behringer_mixer took 0.0 seconds
2024-03-13 09:21:37.812 INFO (MainThread) [homeassistant.setup] Setting up trace
2024-03-13 09:21:37.812 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.0 seconds
2024-03-13 09:21:37.813 INFO (MainThread) [homeassistant.setup] Setting up zone
2024-03-13 09:21:37.815 INFO (MainThread) [homeassistant.setup] Setting up input_select
2024-03-13 09:21:37.816 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)

Version: 1.34.0
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------

2024-03-13 09:21:37.821 INFO (MainThread) [homeassistant.setup] Setting up sensor
2024-03-13 09:21:37.821 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds
2024-03-13 09:21:37.830 INFO (MainThread) [homeassistant.components.tts] Setting up google_translate.tts
2024-03-13 09:21:37.833 INFO (MainThread) [homeassistant.setup] Setting up hardware
2024-03-13 09:21:37.862 INFO (MainThread) [homeassistant.components.sensor] Setting up sun.sensor
2024-03-13 09:21:37.864 INFO (MainThread) [homeassistant.setup] Setting up backup
2024-03-13 09:21:37.865 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.0 seconds
2024-03-13 09:21:37.871 INFO (MainThread) [homeassistant.setup] Setting up tplink
2024-03-13 09:21:37.871 INFO (MainThread) [homeassistant.setup] Setup of domain tplink took 0.0 seconds
2024-03-13 09:21:37.876 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.3 seconds
2024-03-13 09:21:37.877 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.3 seconds
2024-03-13 09:21:37.878 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.3 seconds
2024-03-13 09:21:37.881 INFO (MainThread) [homeassistant.setup] Setting up energy
2024-03-13 09:21:37.882 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.0 seconds
2024-03-13 09:21:37.883 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.3 seconds
2024-03-13 09:21:37.884 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline
2024-03-13 09:21:37.884 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.2 seconds
2024-03-13 09:21:37.887 INFO (MainThread) [homeassistant.setup] Setting up automation
2024-03-13 09:21:37.891 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.1 seconds
2024-03-13 09:21:37.891 INFO (SyncWorker_3) [homeassistant.loader] Loaded switch_as_x from homeassistant.components.switch_as_x
2024-03-13 09:21:37.898 INFO (MainThread) [homeassistant.components.sensor] Setting up energy.sensor
2024-03-13 09:21:37.904 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds
2024-03-13 09:21:37.910 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.3 seconds
2024-03-13 09:21:37.912 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.3 seconds
2024-03-13 09:21:37.912 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.1 seconds
2024-03-13 09:21:37.921 INFO (MainThread) [homeassistant.setup] Setting up script
2024-03-13 09:21:37.923 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 0.1 seconds
2024-03-13 09:21:37.944 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds
2024-03-13 09:21:37.946 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.1 seconds
2024-03-13 09:21:37.947 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.1 seconds
2024-03-13 09:21:37.947 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.1 seconds
2024-03-13 09:21:37.950 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.1 seconds
2024-03-13 09:21:37.968 INFO (MainThread) [homeassistant.setup] Setting up lyric
2024-03-13 09:21:37.968 INFO (MainThread) [homeassistant.setup] Setup of domain lyric took 0.0 seconds
2024-03-13 09:21:37.970 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2024-03-13 09:21:37.973 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 0.1 seconds
2024-03-13 09:21:37.976 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.0 seconds
2024-03-13 09:21:37.977 INFO (MainThread) [homeassistant.setup] Setting up notify
2024-03-13 09:21:37.977 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds
2024-03-13 09:21:37.979 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2024-03-13 09:21:37.979 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds
2024-03-13 09:21:37.980 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2024-03-13 09:21:37.982 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor
2024-03-13 09:21:37.986 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker
2024-03-13 09:21:37.987 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor
2024-03-13 09:21:37.988 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker
2024-03-13 09:21:37.988 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor
2024-03-13 09:21:37.991 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor
2024-03-13 09:21:37.993 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2024-03-13 09:21:37.996 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor
2024-03-13 09:21:37.996 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor
2024-03-13 09:21:37.997 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds
2024-03-13 09:21:37.997 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker
2024-03-13 09:21:38.004 INFO (MainThread) [homeassistant.setup] Setting up default_config
2024-03-13 09:21:38.005 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.0 seconds
2024-03-13 09:21:38.007 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
2024-03-13 09:21:38.139 INFO (MainThread) [homeassistant.setup] Setting up light
2024-03-13 09:21:38.143 INFO (MainThread) [homeassistant.components.sensor] Setting up tplink.sensor
2024-03-13 09:21:38.146 INFO (MainThread) [homeassistant.setup] Setting up switch
2024-03-13 09:21:38.147 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds
2024-03-13 09:21:38.234 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore done
2024-03-13 09:21:38.234 INFO (MainThread) [custom_components.hacs] Enable category: integration
2024-03-13 09:21:38.235 INFO (MainThread) [custom_components.hacs] Enable category: plugin
2024-03-13 09:21:38.235 INFO (MainThread) [custom_components.hacs] Enable category: template
2024-03-13 09:21:38.235 INFO (MainThread) [custom_components.hacs] Enable category: theme
2024-03-13 09:21:38.236 INFO (MainThread) [custom_components.hacs] <HacsFrontend> Using experimental frontend
2024-03-13 09:21:38.240 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-03-13 09:21:38.240 INFO (MainThread) [custom_components.hacs] Setting up plugin endpoint
2024-03-13 09:21:38.240 INFO (MainThread) [custom_components.hacs] <HacsFrontend> storage mode, cache for /hacsfiles/: True
2024-03-13 09:21:38.242 INFO (MainThread) [homeassistant.components.sensor] Setting up hacs.sensor
2024-03-13 09:21:38.246 INFO (MainThread) [homeassistant.setup] Setting up update
2024-03-13 09:21:38.247 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.0 seconds
2024-03-13 09:21:38.249 INFO (MainThread) [homeassistant.components.switch] Setting up tplink.switch
2024-03-13 09:21:38.250 INFO (MainThread) [homeassistant.components.sensor] Setting up tplink.sensor
2024-03-13 09:21:38.252 INFO (MainThread) [homeassistant.components.switch] Setting up tplink.switch
2024-03-13 09:21:38.253 INFO (MainThread) [homeassistant.components.sensor] Setting up tplink.sensor
2024-03-13 09:21:38.255 INFO (MainThread) [homeassistant.components.switch] Setting up tplink.switch
2024-03-13 09:21:38.256 INFO (MainThread) [homeassistant.components.sensor] Setting up tplink.sensor
2024-03-13 09:21:38.258 INFO (MainThread) [homeassistant.components.switch] Setting up tplink.switch
2024-03-13 09:21:38.261 INFO (MainThread) [homeassistant.components.update] Setting up hacs.update
2024-03-13 09:21:38.267 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.1 seconds
2024-03-13 09:21:38.272 INFO (MainThread) [homeassistant.components.light] Setting up tplink.light
2024-03-13 09:21:38.272 INFO (MainThread) [custom_components.hacs] Stage changed: setup
2024-03-13 09:21:38.273 INFO (MainThread) [custom_components.hacs] Stage changed: waiting
2024-03-13 09:21:38.273 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts
2024-03-13 09:21:38.275 INFO (MainThread) [homeassistant.components.light] Setting up tplink.light
2024-03-13 09:21:38.275 INFO (MainThread) [homeassistant.components.light] Setting up tplink.light
2024-03-13 09:21:38.275 INFO (MainThread) [homeassistant.components.light] Setting up tplink.light
2024-03-13 09:21:38.722 INFO (MainThread) [homeassistant.setup] Setting up weather
2024-03-13 09:21:38.722 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.0 seconds
2024-03-13 09:21:38.724 INFO (MainThread) [homeassistant.components.weather] Setting up met.weather
2024-03-13 09:21:39.414 INFO (MainThread) [homeassistant.components.light] Setting up tplink.light
2024-03-13 09:21:39.414 INFO (MainThread) [homeassistant.components.sensor] Setting up tplink.sensor
2024-03-13 09:21:39.432 INFO (MainThread) [homeassistant.components.switch] Setting up tplink.switch
2024-03-13 09:21:39.490 INFO (MainThread) [homeassistant.setup] Setting up climate
2024-03-13 09:21:39.492 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.0 seconds
2024-03-13 09:21:39.497 INFO (MainThread) [homeassistant.components.sensor] Setting up lyric.sensor
2024-03-13 09:21:39.512 INFO (MainThread) [homeassistant.components.climate] Setting up lyric.climate
2024-03-13 09:21:43.126 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Finished fetching ha_behringer_mixer data in 0.000 seconds (success: True)
2024-03-13 09:21:43.129 INFO (MainThread) [homeassistant.components.switch] Setting up ha_behringer_mixer.switch
2024-03-13 09:21:43.147 INFO (MainThread) [homeassistant.setup] Setting up number
2024-03-13 09:21:43.148 INFO (MainThread) [homeassistant.setup] Setup of domain number took 0.0 seconds
2024-03-13 09:21:43.149 INFO (MainThread) [homeassistant.components.sensor] Setting up ha_behringer_mixer.sensor
2024-03-13 09:21:43.168 INFO (MainThread) [homeassistant.setup] Setting up select
2024-03-13 09:21:43.170 INFO (MainThread) [homeassistant.setup] Setup of domain select took 0.0 seconds
2024-03-13 09:21:43.171 INFO (MainThread) [homeassistant.components.number] Setting up ha_behringer_mixer.number
2024-03-13 09:21:43.187 INFO (MainThread) [homeassistant.components.select] Setting up ha_behringer_mixer.select
2024-03-13 09:21:43.192 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 7.56s
2024-03-13 09:21:43.193 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2024-03-13 09:21:43.196 INFO (MainThread) [custom_components.hacs] Stage changed: startup
2024-03-13 09:21:43.206 INFO (MainThread) [custom_components.hacs] Loading removed repositories
2024-03-13 09:21:43.213 INFO (SyncWorker_4) [homeassistant.loader] Loaded homekit_controller from homeassistant.components.homekit_controller
2024-03-13 09:21:43.215 INFO (SyncWorker_1) [homeassistant.loader] Loaded spotify from homeassistant.components.spotify
2024-03-13 09:21:43.238 INFO (SyncWorker_0) [homeassistant.loader] Loaded bluetooth_adapters from homeassistant.components.bluetooth_adapters
2024-03-13 09:21:43.259 INFO (SyncWorker_4) [homeassistant.loader] Loaded shelly from homeassistant.components.shelly
2024-03-13 09:21:43.351 INFO (SyncWorker_0) [homeassistant.loader] Loaded ruuvi_gateway from homeassistant.components.ruuvi_gateway
2024-03-13 09:21:43.372 INFO (SyncWorker_1) [homeassistant.loader] Loaded esphome from homeassistant.components.esphome
2024-03-13 09:21:43.404 INFO (MainThread) [custom_components.hacs] Loading known repositories
2024-03-13 09:21:43.415 INFO (MainThread) [homeassistant.setup] Setting up bluetooth_adapters
2024-03-13 09:21:43.417 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth_adapters took 0.0 seconds
2024-03-13 09:21:43.438 INFO (SyncWorker_4) [homeassistant.loader] Loaded thread from homeassistant.components.thread
2024-03-13 09:21:43.777 INFO (MainThread) [custom_components.hacs] Stage changed: running
2024-03-13 09:21:43.937 INFO (SyncWorker_8) [homeassistant.loader] Loaded brother from homeassistant.components.brother
2024-03-13 09:21:43.938 INFO (SyncWorker_2) [homeassistant.loader] Loaded ipp from homeassistant.components.ipp
2024-03-13 09:23:06.446 INFO (SyncWorker_8) [homeassistant.loader] Loaded radio_browser from homeassistant.components.radio_browser
2024-03-13 09:23:06.448 INFO (SyncWorker_8) [homeassistant.loader] Loaded shopping_list from homeassistant.components.shopping_list
2024-03-13 09:23:20.982 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:21.025 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:21.958 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:21.968 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:21.977 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:21.985 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:21.994 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.003 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.011 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.018 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.025 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.032 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.038 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.044 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:22.049 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:26.399 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:26.402 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:26.407 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139755851683776] Value 6.0 for number.x32rack_channel_23_fader is outside valid range 0 - 1
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 930, in entity_service_call
    raise result from None
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1570, in async_request_call
    return await coro
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 101, in async_set_value
    raise ValueError(
ValueError: Value 6.0 for number.x32rack_channel_23_fader is outside valid range 0 - 1
2024-03-13 09:23:31.122 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:23:31.134 DEBUG (MainThread) [custom_components.ha_behringer_mixer] Manually updated ha_behringer_mixer data
2024-03-13 09:24:16.319 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/behringer_mixer/mixer_base.py", line 117, in subscribe
    await self._subscribe_worker("/xremote", callback_function)
  File "/usr/local/lib/python3.12/site-packages/behringer_mixer/mixer_base.py", line 138, in _subscribe_worker
    self._subscription_status_callback(
  File "/config/custom_components/ha_behringer_mixer/api.py", line 93, in subscription_status_callback
    self.new_data_callback({})
  File "/config/custom_components/ha_behringer_mixer/api.py", line 83, in new_data_callback
    if data.get("property").endswith("_db"):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'endswith'

Diagnostics dump

No response

wrodie commented 6 months ago

I've released a new version that I believe fixes this issue.