Update history_graph.markdown (#8648)

* Update history_graph.markdown

I couldn't understand why my MQTT temperuture sensor wouldn't combine with my weather sensor until I noticed the proposed change.

* Minor changes
This commit is contained in:
Martin 2019-02-20 14:05:12 +01:00 committed by Klaas Schoute
parent 375799210e
commit af3d75ebd3

View File

@ -71,7 +71,6 @@ history_graph:
- sensor.inside_temperature - sensor.inside_temperature
hours_to_show: 120 hours_to_show: 120
# refresh: 0 # refresh: 0
``` ```
For sensors to automatically be combined into one graph they need to have exactly the same unit of measurement. This is important if you have, e.g., a unit-less temperature `state_topic` MQTT sensor and you want to combine this with a weather sensor. `unit_of_measurement:` of the MQTT sensor then needs to be set to `°C`.