Correct cache_value (#5537)

The default cache_value is 300, not 1200: fecce206a9/homeassistant/components/sensor/mitemp_bt.py (L30)
This commit is contained in:
Felix Fischer 2018-06-13 14:51:54 +02:00 committed by Fabian Affolter
parent b3ef10dd4e
commit fa699f82b5

View File

@ -70,7 +70,7 @@ sensor:
- **median** (*Optional*): Sometimes the sensor measurements show spikes. Using this parameter, the poller will report the median of the last 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.
- **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_value** (*Optional*): Define cache expiration value in seconds (defaults to 1200 if not defined)
- **cache_value** (*Optional*): Define cache expiration value in seconds (defaults to 300 if not defined)
- **adapter** (*Optional*): Define the Bluetooth adapter to use (defaults to hci0). Run `hciconfig` to get a list of available adapters.
Note that by default the sensor is only polled once every 5 minutes. This means with the `median: 3` setting will take as least 15 minutes before the sensor will report a value after a Home Assistant restart. Even though the hardware is able to provide new values every second, room temperatures don't change that quickly.