mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Included note instructing to enclose Norwegian language code in quotes to avoid it being evaluated as a boolean. (#4393)
This commit is contained in:
parent
9109d9d67f
commit
e029b9c367
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user