GithubHelp home page GithubHelp logo

amura11 / ha-secret-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 74 KB

A configurable Home Assitant integration providing a simple service for securely checking values against secrets

License: MIT License

Python 92.21% Shell 7.79%
hacs hacs-custom hacs-integration home-assistant home-assistant-hacs

ha-secret-service's People

Contributors

amura11 avatar dependabot[bot] avatar

Watchers

 avatar  avatar

ha-secret-service's Issues

Excluding Secrets or Groups results in an error

System Health details

System Information

version core-2023.7.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 6.1.34
arch x86_64
timezone America/Edmonton
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4655
Installed Version 1.32.1
Stage running
Available Repositories 1265
Downloaded Repositories 21
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 10.3
update_channel stable
supervisor_version supervisor-2023.07.1
agent_version 1.5.1
docker_version 23.0.6
disk_total 30.8 GB
disk_used 11.4 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Zigbee2MQTT (1.32.1-1), Terminal & SSH (9.7.1), Frigate NVR Proxy (1.3), Z-Wave JS (0.1.84), Ring-MQTT with Video Streaming (5.5.1), Studio Code Server (5.9.0), Let's Encrypt (4.12.9), LibreTuya ESPHome (latest), ESPHome (2023.7.0)
keymaster
zwave_integration zwave_js
network_status on
Dashboards
dashboards 4
resources 13
views 7
mode storage
Recorder
oldest_recorder_run July 23, 2023 at 4:21 PM
current_recorder_run July 25, 2023 at 10:37 PM
estimated_db_size 21.84 MiB
database_engine sqlite
database_version 3.41.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

If the Secrets or Groups fields are left empty the following error is throw:

TypeError: 'NoneType' object is not iterable

Reproduction steps

  1. Create a config without a Secrets section

Debug logs

2023-07-25 22:37:15.425 ERROR (MainThread) [homeassistant.setup] Error during setup of component secret_service
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 288, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/secret_service/__init__.py", line 80, in setup
service = SecretValidatorService(service_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/secret_service/__init__.py", line 124, in __init__
for secret_config in secret_configs:
TypeError: 'NoneType' object is not iterable

Diagnostics dump

No response

Reload the configuration without a restart

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Having to reload Home Assistant to apply a new configuration is tedious

Describe the solution you'd like

Either have a way for the configuration to be reloaded manually or automatically reload when the main configuration is reloaded

Describe alternatives you've considered

No

Additional context

N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.