You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: entity command handler on the base Entity
This will simplify the client command handling significantly:
- configured entity is passed as argument
- basic error checking is done in the library
- websocket stays hidden
- command acknowledgment is implemented in the library
refactor: driver setup process
Don't expose websocket or request ids. Setup flow is controlled by new data classes:
- Return object is the next step in the setup flow.
- The client should not have to know or call driver_setup_error, request_driver_setup_user_input, etc.
fix: mDNS service publishing
- Publish service with local hostname.
- Cleanup interface and port handling.
refactor: logging
- Remove logging.basicConfig() calls.
Must be done by client.
- Make logging instances private.
- Move entity creation log statement to base class.
fix: improve websocket handling
- best effort in broadcast_ws_event
- add more type information
- add docstrings
fix: config_dir_path is always set
- Use ENV var UC_CONFIG_HOME for configuration directory, fallback to HOME directory or local path.
Prepare project for public release:
- add CONTRIBUTING.md
- add CHANGELOG.md
- add a minimal example
- enhance README
Closes#1Fixes#2Fixes#3
The UC_INTEGRATION_INTERFACE environment variable is an optional setting to configure the listening interface.
Current behaviour is that if it is not set, the WebSocket listening doesn't work.
Expected: optional env var, if not set use
0.0.0.0
The text was updated successfully, but these errors were encountered: