-
Notifications
You must be signed in to change notification settings - Fork 0
/
binary_sensor.yaml
40 lines (40 loc) · 1.17 KB
/
binary_sensor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- platform: workday
country: GB
workdays: [mon, tue, wed, thu, fri]
excludes: [sat, sun]
remove_holidays:
- "[Scotland]"
- "[Northern Ireland]"
- platform: threshold
name: "Light Level: Lounge"
entity_id: sensor.living_room_light_sensor_illuminance_lux
lower: 100
- platform: threshold
name: "Light Level: Kitchen"
entity_id: sensor.kitchen_light_sensor_illuminance_lux
lower: 100
- platform: threshold
name: "Light Level: Bedroom"
entity_id: sensor.bedroom_light_sensor_illuminance_lux
lower: 100
- platform: threshold
name: "Light Level: Office"
entity_id: sensor.office_light_sensor_illuminance_lux
lower: 100
- platform: ping
host: fr.smrhome.casa
name: "Le Pressoir"
count: 1
scan_interval: 600
- platform: trend
sensors:
showering_detected:
entity_id: sensor.bathroom_climate_sensor_humidity
friendly_name: Showering Detected
device_class: occupancy
- platform: rest
resource_template: "https://openapi.tuyaeu.com/v1.0/iot-03/devices/257535673083989c0d2f/specification"
headers:
User-Agent: Home Assistant
Content-Type: application/json
X-Custom-Header: '{{ states("input_text.the_custom_header") }}'