-
Notifications
You must be signed in to change notification settings - Fork 0
/
floorplan.yaml
72 lines (61 loc) · 2.09 KB
/
floorplan.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Demo Floorplan
image: /local/custom_ui/floorplan/floorplan.svg
stylesheet: /local/custom_ui/floorplan/floorplan.css
# These options are optional
# warnings: # enable warnings (to find out why things might ot be working correctly)
# pan_zoom: # enable experimental panning / zooming
# hide_app_toolbar: # hide the application toolbar (when used as a custom panel)
# date_format: DD-MMM-YYYY # Date format to use in hover-over text
last_motion_entity: sensor.template_last_motion
last_motion_class: last-motion
groups:
- name: Temp
entities:
- sensor.temperatura
text_template: '${entity.state ? entity.state : "na"}°C'
class_template: 'return "static-temp";'
- name: Temp1
entities:
- sensor.oggi_temperature
text_template: '${entity.state ? entity.state : "na"}°C'
class_template: 'return "static-temp";'
- name: Lights
entities:
- light.hue_color_lamp_1
- light.hue_color_lamp_2
- light.hue_color_lamp_3
states:
- state: 'on'
class: 'light-on'
- state: 'off'
class: 'light-off'
action:
domain: light
service: toggle
- name: Media Players
entities:
- media_player.sony_bravia_tv
states:
- state: 'off'
class: 'tv-off'
- state: 'on'
class: 'tv-on'
- name: Switches
entities:
- switch.cancello
- switch.irrigazione
states:
- state: 'on'
class: 'canc-on'
- state: 'off'
class: 'canc-off'
action:
domain: switch
service: toggle
- name: Cameras
entities:
- camera.entrata
- camera.cam
states:
- state: 'idle'
class: 'camera-idle'