Updated workday.markdown to fix example 2 duplicate (#16091)

Changed duplicate "example 2" to "example 3" and added Tuesday and Thursday because they were omitted from the example without explanation.
This commit is contained in:
clarkwmcd 2021-01-04 03:53:47 -05:00 committed by GitHub
parent b542adc52d
commit e4b124479a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ The date February 24th, 2020 is a Monday but will be excluded because it was add
binary_sensor:
- platform: workday
country: DE
workdays: [mon, wed, fri]
workdays: [mon, tue, wed, thu, fri]
excludes: [sat, sun, holiday]
add_holidays:
- '2020-02-24'
@ -114,7 +114,7 @@ binary_sensor:
This example excludes Saturdays, Sundays and holidays. Two holidays are removed: November 26, 2020 and December 25, 2020.
```yaml
# Example 2 configuration.yaml entry
# Example 3 configuration.yaml entry
binary_sensor:
- platform: workday
country: US