From 109cdccd465baa727557a636bea35f37bda204ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A5le=20Semb=20Hauknes?= Date: Wed, 23 Aug 2017 09:36:57 +0200 Subject: [PATCH] Add 'days_offset' parameter (#3134) * Add 'days_offset' parameter * Change name from 'offset' to 'days_offset' --- 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 133b28f1b76..b063bb5e138 100644 --- a/source/_components/binary_sensor.workday.markdown +++ b/source/_components/binary_sensor.workday.markdown @@ -30,6 +30,7 @@ Configuration variables: - **province** (*Optional*): Province code according to [holidays](https://pypi.python.org/pypi/holidays/0.8.1) notation. Defaults to None. - **workdays** (*Optional*): List of workdays. Defaults to `mon`, `tue`, `wed`, `thu`, `fri`. - **excludes** (*Optional*): List of workday excludes. Defaults to `sat`, `sun`, `holiday`. +- **days_offset** (*Optional*): Set days offset. Defaults to `0`. 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.