Skip to content

Commit 0f30f9c

Browse files
authored
update miflora component to resolve home-assistant#1022
1 parent e67ff90 commit 0f30f9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/_components/sensor.miflora.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ sensor
3939
3 (you can also use larger values) measurements. This filters out single spikes. Median: 5 will also filter double spikes.
4040
If you never have problems with spikes, median=1 will work fine.
4141
- **monitored_conditions** (*Required*): The paramaters that should be monitored.
42+
- **timeout** (*Optional*): Define the timeout value in seconds when polling (defaults to 10 if not defined)
43+
- **retries** (*Optional*): Define the number of retries when polling (defaults to 2 if not defined)
44+
- **cache** (*Optional*): Define cache expiration value in seconds (defaults to 1200 if not defined)
4245

4346
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.
4447
Reducing polling intervals will have a negative effect on the battery life.

0 commit comments

Comments
 (0)