Skip to content

Commit

Permalink
Updated CHANGELOG and README for TCP transport (cf. uhppoted/uhppote-…
Browse files Browse the repository at this point in the history
  • Loading branch information
twystd committed Jul 4, 2024
1 parent 0180bb6 commit 7c53220
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## Unreleased

### Added
1. Implements support for (optional) TCP connections to controllers.


## [0.8.8.1](https://github.com/uhppoted/uhppoted-app-home-assistant/releases/tag/v0.8.8.1) - 2024-04-17

### Added
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ uhppoted:
7. For each controller:
- choose a unique name e.g. _Main_, _Controller #1_, etc.
- _(optional)_ set the controller IP address
- _(optional)_ set the controller protocol (defaults to _UDP_).
- _(optional)_ set the controller timezone (defaults to _Local_)
8. For each controller, select the doors to manage with _Home Assistant_
9. For each selected door:
Expand Down
8 changes: 5 additions & 3 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
- [x] startup (`_LOGGER.info(f'controllers: {defaults[CONF_CONTROLLERS]}')`)
- [x] Rework coordinators to use `Controller` tuple
- [x] Check that controller.protocol from configuration.yaml is being used
- [ ] Remove `get_configured_controllers`
- [ ] CHANGELOG
- [ ] README
- [ ] Commonalise config-/options-flow controllers step
- [x] CHANGELOG
- [x] README
- [ ] (eventually) remove `controllers` from driver
- (?) Remove `get_configured_controllers`
- (?) Remove port from config-/options-flow

- [ ] DataCoordinator
- [ ] communalize data
Expand Down
2 changes: 1 addition & 1 deletion custom_components/uhppoted/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def get_all_controllers(predefined, options):
serial_no = v.get('controller', 0)
address = v.get('address', '')
port = v.get('port', 60000)
protocol = v.get('protocol','UDP')
protocol = v.get('protocol', 'UDP')

if serial_no > 0 and address != '':
k = serial_no
Expand Down

0 comments on commit 7c53220

Please sign in to comment.