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

Add driver command to update log config #116

Closed
wants to merge 10 commits into from

Conversation

raman325
Copy link
Collaborator

@raman325 raman325 commented Feb 15, 2021

Related to #115 and zwave-js/node-zwave-js#1754. This will allow us to add support to update the log configuration in the Python library and then expose a service in Home Assistant to update the log levels without having to restart the server.

The version bump is a breaking change to the add-on - updating the add-on would depend on home-assistant/core#46355 in order for zwave_js thermostats in Home Assistant to continue to function.

Resolves #115

@raman325 raman325 changed the title Bump node-zwave-js version and add driver command to update log config Bump node-zwave-js and zwave-js-server version and add driver command to update log config Feb 15, 2021
@raman325 raman325 changed the title Bump node-zwave-js and zwave-js-server version and add driver command to update log config Bump version for node-zwave-js + zwave-js-server and add driver command to update log config Feb 15, 2021
package.json Outdated Show resolved Hide resolved
@raman325 raman325 force-pushed the update_log_config branch 3 times, most recently from f9ad0d0 to c2a8905 Compare February 16, 2021 14:54
@raman325 raman325 changed the title Bump version for node-zwave-js + zwave-js-server and add driver command to update log config Add driver command to update log config Feb 16, 2021
@raman325
Copy link
Collaborator Author

I will rebase once #118 is merged

@MartinHjelmare
Copy link
Collaborator

#118 is merged. 👍

@MartinHjelmare
Copy link
Collaborator

I'd like some TS/JS eyes on this PR.

@raman325
Copy link
Collaborator Author

raman325 commented Feb 16, 2021

I'd like some TS/JS eyes on this PR.

Do we want to bump the server version now, or wait until this is merged? Given that we can't currently get the current log config (that will come in the next zwave-js release) I'm not sure that this is useful yet within Home Assistant

@MartinHjelmare
Copy link
Collaborator

We can do a release now of the server and have this PR go in a later release.

README.md Outdated Show resolved Hide resolved
@raman325
Copy link
Collaborator Author

raman325 commented Feb 19, 2021

Since we are on the latest version of node-zwave-js, this PR can be combined with the other one. Closing this one since that one is more complete

@raman325 raman325 closed this Feb 19, 2021
@raman325 raman325 deleted the update_log_config branch February 19, 2021 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add command to update logging configuration
3 participants