core/homeassistant/components/hunterdouglas_powerview
Franchie 066a418518
Avoid failing when hub does not provide cover position information (#39826)
The powerview hub, seemingly randomly, will occasionally not
provide data for cover positions. Some requests will return the
desired response, but minutes later the same request might not.

It appears this issue is being experienced by a number of people:
https://community.home-assistant.io/t/hunter-douglas-powerview-component-expanding-this-api/88635/48

While an unfortunate bug with the hub, crashing the integration
as a result of this missing data appears somewhat excessive.
This patch adds a simple check to ensure the 'position' key
has been returned by the hub before attempting to access its
data.
2020-09-08 16:00:38 -05:00
..
translations [ci skip] Translation update 2020-09-02 00:03:29 +00:00
__init__.py Exception chaining and wrapping improvements (#39320) 2020-08-28 13:50:32 +02:00
config_flow.py Exception chaining and wrapping improvements (#39320) 2020-08-28 13:50:32 +02:00
const.py Improve setup retry logic to handle inconsistent powerview hub availability (#38249) 2020-07-26 17:01:29 -10:00
cover.py Avoid failing when hub does not provide cover position information (#39826) 2020-09-08 16:00:38 -05:00
entity.py Update hunterdouglas_powerview to use CoordinatorEntity (#39463) 2020-08-30 13:28:09 -05:00
manifest.json
scene.py
sensor.py Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
strings.json