Commit Graph

9 Commits

Author SHA1 Message Date
Koen Kanters
4125ae0888
TypeScript refactoring (#8567)
* Updates

* Updates

* Updates

* Rename

* Updates

* updates

* Updates

* Updates
2021-09-01 20:39:17 +02:00
Koen Kanters
22430631d2
Honour legacy availability options and retrieve state when device reconnects #6281 (#8545)
* Availability

* Updates
2021-08-28 10:08:09 +02:00
Koen Kanters
5b6b4c1736 Availability stop pining when device leaves. #6281 2021-08-25 19:14:48 +02:00
Koen Kanters
9129f95c39 Add availability_mode for Home Assistant and publish availability only when its enabled for that device. #6281 2021-08-23 19:24:10 +02:00
Koen Kanters
9e8dcb2784 Allow to disable/enable availability for device and allow to configure timeout. #6281 2021-08-22 22:30:32 +02:00
Koen Kanters
f9451ffe22 Ping 2 times when device is unavailable where second attempt has recovery enabled. #6281 2021-08-18 21:22:06 +02:00
Koen Kanters
773de25657 Attempt 3 pings before marking device as unavailable and 1 when device is already unavailable. #6281 2021-08-16 21:16:52 +02:00
Koen Kanters
755e8d3866 Ping twice before marking device as unavailable and wait 2 seconds between pings. #6281 2021-08-15 21:31:28 +02:00
Koen Kanters
c18a698e6b
Availability refactor part 1 (#8243)
* Initial

* Updates

* update

* Updates

* Updates

* Updates
2021-08-14 16:04:03 +02:00