From e029b9c367e4c9257f1d8caf6b5455eac0ceaa7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Nor=C3=A5s?= Date: Thu, 11 Jan 2018 16:48:28 +0100 Subject: [PATCH] Included note instructing to enclose Norwegian language code in quotes to avoid it being evaluated as a boolean. (#4393) --- source/_components/binary_sensor.workday.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_components/binary_sensor.workday.markdown b/source/_components/binary_sensor.workday.markdown index 3864850d146..7730c514fec 100644 --- a/source/_components/binary_sensor.workday.markdown +++ b/source/_components/binary_sensor.workday.markdown @@ -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.

+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.