Update mitemp_bt component documentation (#9859)

* Update mitemp_bt component documentation 

Fixed the full example and added the default values for force_update and median.

* ✏️ Tweak
This commit is contained in:
ferdinand 2019-07-16 10:06:03 +02:00 committed by Franck Nijhof
parent 608e277145
commit 73a8cc662c

View File

@ -81,10 +81,12 @@ name:
force_update:
description: Sends update events even if the value hasn't changed.
required: false
default: false
type: boolean
median:
description: "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."
required: false
default: 3
type: integer
timeout:
description: Define the timeout value in seconds when polling.
@ -121,7 +123,8 @@ sensor:
- platform: mitemp_bt
mac: 'xx:xx:xx:xx:xx:xx'
name: Kids Room Temp
force_up median: 3
force_update: true
median: 1
monitored_conditions:
- temperature
- humidity