Releases: corporategoth/ha-powerpetdoor
0.2.7
Fixed the warning from about the deprecated async_setup_platforms function.
Fix minimum time between send
Fixed minimum time between send issue, and double-dequeue issue that caused messages to sometimes get sent to the door faster than it could process and send back a result (resulting in lost messages).
This should also fix the ping time and ensure that the door integration starts up quickly (as opposed to timing out).
Retry and ignore dropped messages
Support retrying messages that don't get a response, and dropping (without disconnecting) if we don't get a response too many times. We now only disconnect after 3 unresponded to pings.
This essentially eliminates disconnects/reconnects.
Fixed options flow (again)
Fixed the code in my options flow ... again ;)
Code Cleanup
Changed more of the entities to be based around a DataUpdateCoordinator so I don't have to do update timers myself.
Fixed small bug in the config flow that made it error out.
Fix options for real
Changing options now works.
Flow Control
Added flow control to the client, to overcome the issue that the hardware cannot handle more than one message 'in flight' (not responded to) at a time.
Also fixed the configuration so you can update the configuration after install. Still do not allow changing the IP/port right now.
Significant re-write
Lots of new features, including:
- Interface-based configuration
- Multiple sensors & switches controlling the various buttons.
- Cleaned up the connection and re-connection code
- LOTS of code changes.
Streamlined Code
Streamlined the code to take out the unnecessary signals.
Also added open and close service calls
Made passing the entity_id to service calls work properly (so it's not a data argument)
Changed state to be 'open', 'closed', 'opening' or 'closing'
FIx door status
Was not capturing DOOR_STATUS along with GET_DOOR_STATUS, so the door status was not updating. Fixed.