FIX vacaciones y trabajo

This commit is contained in:
dfcarvajal
2019-08-04 11:48:34 +00:00
parent 07fbe98afb
commit 3960a0c17f
4 changed files with 91 additions and 12 deletions

View File

@@ -0,0 +1,73 @@
binary_sensor:
- platform: workday
name: colegio
country: ES
province: MAD
workdays: [mon, tue, wed, thu, fri]
add_holidays:
- '2019-07-25'
- '2019-07-26'
- '2019-07-27'
- '2019-07-28'
- '2019-07-29'
- '2019-07-30'
- '2019-07-31'
- '2019-08-01'
- '2019-08-02'
- '2019-08-03'
- '2019-08-04'
- '2019-08-05'
- '2019-08-06'
- '2019-08-07'
- '2019-08-08'
- '2019-08-09'
- '2019-08-10'
- '2019-08-11'
- '2019-08-12'
- '2019-08-13'
- '2019-08-14'
- '2019-08-15'
- '2019-08-16'
- '2019-08-17'
- '2019-08-18'
- '2019-08-19'
- '2019-08-20'
- '2019-08-21'
- '2019-08-22'
- '2019-08-23'
- '2019-08-24'
- '2019-08-25'
- '2019-08-26'
- '2019-08-27'
- '2019-08-28'
- '2019-08-29'
- '2019-08-30'
- '2019-08-31'
- '2019-09-01'
- '2019-09-02'
- '2019-09-03'
- '2019-09-04'
- '2019-09-05'
- '2019-09-06'
- '2019-09-07'
- '2019-09-08'
- '2019-09-09'

View File

@@ -1,6 +0,0 @@
binary_sensor:
- platform: workday
name: vacaciones
country: ES
province: MAD
workdays: [mon, tue, wed, thu, fri]

View File

@@ -0,0 +1,18 @@
binary_sensor:
- platform: workday
name: Trabajo
country: ES
province: MAD
workdays: [mon, tue, wed, thu, fri]
add_holidays:
- '2019-07-25'
- '2019-07-26'
- '2019-07-27'
- '2019-07-28'
- '2019-07-29'
- '2019-07-30'
- '2019-07-31'
- '2019-08-01'
- '2019-08-02'
- '2019-08-03'
- '2019-08-04'

View File

@@ -1,6 +0,0 @@
binary_sensor:
- platform: workday
name: workday
country: ES
province: MAD
workdays: [mon, tue, wed, thu, fri]