Jason Rumney
|
dbab00a949
Partial revert of 7c971be75 Get HA to call async_refresh once...
|
3 years ago |
Ivann LARUELLE
|
08912df117
fix(devices): make sure we update state after resetting state to avoid race condition
|
3 years ago |
Ivann LARUELLE
|
0c74739780
fix(devices): instruct home assistant to fetch device state if unavailable
|
3 years ago |
Jason Rumney
|
30c2cee351
Calculate AUTO_CONNECTION_ATTEMPTS from API_PROTOCOL_VERSIONS length
|
3 years ago |
Jason Rumney
|
443d5f90ec
Add support for protocol version 3.5
|
3 years ago |
Jason Rumney
|
7c971be759
Get HA to call async_refresh once for each device during startup
|
3 years ago |
Jason Rumney
|
5be90c7ca7
async_refresh: Update any children that are already set up.
|
3 years ago |
Jason Rumney
|
d4bd4abaf1
Device tests: fix failing tests for recent changes.
|
3 years ago |
Jason Rumney
|
99a79cbbb0
Fix protocol rotation for auto connections.
|
3 years ago |
Jason Rumney
|
d94c2bc83a
Add tests for new functionality in device.py
|
3 years ago |
Jason Rumney
|
cc6d5d6be1
Catch Exception rather than BaseException.
|
3 years ago |
Jason Rumney
|
72d8b8311e
Support for persistent connections.
|
3 years ago |
Jason Rumney
|
cbb9a1ee9b
Refactor: hardcode default temperature unit in climate and water_heater entities.
|
3 years ago |
Jason Rumney
|
7b535aca79
Reduce retries when using a single protocol version.
|
3 years ago |
Jason Rumney
|
50fa1686d4
Don't set api version on startup.
|
3 years ago |
Jason Rumney
|
f64fcd0d02
Allow explicitly setting the protocol version.
|
3 years ago |
Jason Rumney
|
525ca88382
Do not clobber old dps when updating.
|
3 years ago |
Jason Rumney
|
3d0c4bdbff
Use new UnitOfTemperature enum for temperature units.
|
3 years ago |
Jason Rumney
|
704e40c4bc
Retry more before giving up.
|
3 years ago |
Jason Rumney
|
5cd6750822
Reduce debounce on first call within the same second.
|
4 years ago |
Jason Rumney
|
733cc4d841
Avoid using legacy_type.
|
4 years ago |
Jason Rumney
|
3c8efd43ee
Ensure cached state is fetched before use.
|
4 years ago |
Jason Rumney
|
ae418c840a
Migrate config.
|
4 years ago |
Jason Rumney
|
661c0b6dcb
Replace the whole config instead of just one item.
|
4 years ago |
Jason Rumney
|
3678ee3782
Resolve CONF_TYPE_AUTO once per device.
|
4 years ago |
Jason Rumney
|
241bcdbfe9
Revert addition of persist option.
|
4 years ago |
Jason Rumney
|
9a6a28013b
Allow for non-existant config key.
|
4 years ago |
Jason Rumney
|
825465d156
Add a persist option for persistent device connections.
|
4 years ago |
Jason Rumney
|
752845f6e6
Call async_add_executor_job correctly.
|
4 years ago |
Jason Rumney
|
63ab9651b6
Support setting more than one property in a single call.
|
4 years ago |