update miflora component to resolve #1022

This commit is contained in:
Michael Requeny 2016-10-02 21:48:36 -04:00 committed by GitHub
parent e67ff90ad3
commit 0f30f9c53e

View File

@ -39,6 +39,9 @@ sensor
3 (you can also use larger values) measurements. This filters out single spikes. Median: 5 will also filter double spikes. 3 (you can also use larger values) measurements. This filters out single spikes. Median: 5 will also filter double spikes.
If you never have problems with spikes, median=1 will work fine. If you never have problems with spikes, median=1 will work fine.
- **monitored_conditions** (*Required*): The paramaters that should be monitored. - **monitored_conditions** (*Required*): The paramaters that should be monitored.
- **timeout** (*Optional*): Define the timeout value in seconds when polling (defaults to 10 if not defined)
- **retries** (*Optional*): Define the number of retries when polling (defaults to 2 if not defined)
- **cache** (*Optional*): Define cache expiration value in seconds (defaults to 1200 if not defined)
Note that by default the sensor is only polled once every 15 minutes. This means with the median=3 setting, it will take as least 30 minutes before the sensor will report a value after a Home Assistant restart. As the values usually change very slowly, this isn't a big problem. Note that by default the sensor is only polled once every 15 minutes. This means with the median=3 setting, it will take as least 30 minutes before the sensor will report a value after a Home Assistant restart. As the values usually change very slowly, this isn't a big problem.
Reducing polling intervals will have a negative effect on the battery life. Reducing polling intervals will have a negative effect on the battery life.