Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device field of addon configuration set as optional prevent addon from starting #5489

Open
ChristopheHD opened this issue Dec 16, 2024 · 0 comments
Labels

Comments

@ChristopheHD
Copy link

Describe the issue you are experiencing

For an addon with a optional device field (schema.field_name: "device(subsystem=tty)?"), if you don't set the field, you can save the configuration on the panel but you cannot start the addon. By starting the addon, you get the following error message "Device '' does not exist".

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Setup an addon with an optional device field schema.field_name: "device(subsystem=tty)?"
  2. Install the addon
  3. Save the configuration of the addon while not touching the device field
  4. Launch the addon

Anything in the Supervisor logs that might be useful for us?

No logs of the issue, just an error message on the panel (Device '' does not exist for <addon_slug>)

System Health information

System Information

version core-2024.12.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.0
os_name Linux
os_version 6.6.51-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage running
Available Repositories 1488
Downloaded Repositories 11
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.0
update_channel stable
supervisor_version supervisor-2024.11.4
agent_version 1.6.0
docker_version 27.2.0
disk_total 28.0 GB
disk_used 23.9 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board yellow
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Mosquitto broker (6.4.1), Terminal & SSH (9.16.0), Piper (1.5.2), vosk (1.6.1), EnOcean MQTT (0.1.32), Studio Code Server (5.17.3), EnOcean MQTT (dev)
Dashboards
dashboards 2
resources 1
views 11
mode storage
Recorder
oldest_recorder_run 5 décembre 2024 à 06:16
current_recorder_run 14 décembre 2024 à 17:46
estimated_db_size 306.56 MiB
database_engine sqlite
database_version 3.45.3

Supervisor diagnostics

config_entry-hassio-01J309QW8ZTRFVKB5TWZR050SG.json

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant