-
Notifications
You must be signed in to change notification settings - Fork 7
/
configuration.yaml
47 lines (42 loc) · 1.43 KB
/
configuration.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
41
42
43
44
45
46
47
# https://www.home-assistant.io/integrations/default_config/
default_config:
# https://www.home-assistant.io/integrations/logger/
logger:
default: info
logs:
custom_components.auto_areas: debug
# https://www.home-assistant.io/integrations/demo/
demo:
sensor:
- platform: random
minimum: 0
maximum: 200
- platform: template
sensors:
illuminance_a:
unique_id: sensor.illuminance_a
friendly_name: Illuminance a
icon_template: mdi:brightness-auto
unit_of_measurement: lx
value_template: "{{ states('sensor.random_sensor') | float * 1.2 }}"
device_class: illuminance
illuminance_b:
unique_id: sensor.illuminance_b
friendly_name: Illuminance b
icon_template: mdi:brightness-auto
unit_of_measurement: lx
value_template: "{{ states('sensor.random_sensor') | float * 1.3 }}"
device_class: illuminance
illuminance_c:
unique_id: sensor.illuminance_c
friendly_name: Illuminance c
icon_template: mdi:brightness-auto
unit_of_measurement: lx
value_template: "{{ states('sensor.random_sensor') | float * 1.35 }}"
device_class: illuminance
illuminance_d:
unique_id: sensor.illuminance_d
friendly_name: Illuminance d
icon_template: mdi:brightness-auto
unit_of_measurement: lx
value_template: "{{ states('sensor.random_sensor') | float * 0.9 }}"