Update mysensors
* Add optimistic config setting. * Explain how to set a custom unit of measurement for sensors.
This commit is contained in:
parent
5ec7edc791
commit
573220aa55
2 changed files with 10 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
layout: page
|
||||
title: "MySensors Sensor"
|
||||
description: "Instructions how to integrate MySensors sensors into Home Assistant."
|
||||
date: 2016-01-17 15:49
|
||||
date: 2016-02-18 20:13 +0100
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
|
@ -55,6 +55,12 @@ S_LIGHT_LEVEL | V_LEVEL
|
|||
S_AIR_QUALITY | V_LEVEL (replaces V_DUST_LEVEL)
|
||||
S_DUST | V_LEVEL (replaces V_DUST_LEVEL)
|
||||
|
||||
### {% linkable_title Custom unit of measurement %}
|
||||
|
||||
Some sensor value types are not specific for a certain sensor type. These do not have a default unit of measurement in Home Assistant. For example, the V_LEVEL type can be used for different sensor types, dust, sound, vibration etc.
|
||||
|
||||
By using V_UNIT_PREFIX, it's possible to set a custom unit for any sensor. The string value that is sent for V_UNIT_PREFIX will be used in preference to any other unit of measurement, for the defined sensors. V_UNIT_PREFIX can't be used as a standalone sensor value type. Sending a supported value type and value from the tables above is also required. V_UNIT_PREFIX is available with MySensors version 1.5 and later.
|
||||
|
||||
For more information, visit the [serial api] of MySensors.
|
||||
|
||||
[main component]: /components/mysensors/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue