Included note instructing to enclose Norwegian language code in quotes to avoid it being evaluated as a boolean. (#4393)

This commit is contained in:
Anders Norås 2018-01-11 16:48:28 +01:00 committed by Fabian Affolter
parent 9109d9d67f
commit e029b9c367

View File

@ -37,6 +37,7 @@ Configuration variables:
Days are specified as follows: `mon`, `tue`, `wed`, `thu`, `fri`, `sat`, `sun`. The keyword `holiday` is used for public holidays identified by the holidays module.
<p class='note warning'>
If you use the sensor for Norway (`NO`) you need to wrap `NO`in quotes or write the name in full. Otherwise the value is evaluated as `False`.
If you use the sensor for Canada (`CA`) with Ontario (`ON`) as `province:` then you need to wrap `ON` in quotes. Otherwise the value is evaluated as `True` (check the YAML documentation for further details) and the sensor will not work.
</p>