-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.yaml
executable file
·1256 lines (1189 loc) · 42.6 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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
homeassistant:
# Name of the location where Home Assistant is running
name: Maison de Gano
# Location required to calculate the time the sun rises and sets
latitude: !secret halatitude
longitude: !secret halongitude
# C for Celcius, F for Fahrenheit
#temperature_unit: C
# unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Paris
customize: !include devices/customize.yaml
config:
recorder:
purge_interval: 2
purge_keep_days: 31
#db_url: sqlite:///home/gano/.homeassistant/home-assistant_v2.db
#db_url: sqlite:///config/home-assistant_v2.db
#weblink:
# - name: ElasticSearchKibana
# url: http://192.168.2.23:5601/
weblink:
entities:
- name: Pi-Hole
url: http://192.168.2.24/admin
icon: mdi:router-wireless
- name: elkpfsense
url: http://192.168.2.23:5601
icon: mdi:router-wireless
######### DEFINITION DES ZONES ###########
zone:
name: Travail
latitude: !secret travlatitude
longitude: !secret travlongitude
icon: mdi:castle
radius: 500
zone 2:
name: Maison de Gano
latitude: !secret halatitude
longitude: !secret halongitude
icon: mdi:home
radius: 500
zone 3:
name: home
latitude: !secret halatitude
longitude: !secret halongitude
radius: 100
frontend:
javascript_version: latest
themes:
noir:
primary-color: black
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
rouge:
primary-color: red
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
vert:
primary-color: "#018625"
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
jaune:
primary-color: "#E28903"
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
bleu:
primary-color: "#10177D"
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
cyan:
primary-color: "#149EEF"
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
dark:
# Main colors that can be changed
dark-primary-color: "#c66900"
disabled-text-color: "#545454"
divider-color: "rgba(255, 255, 255, 0.12)"
light-primary-color: "#e06c6c"
paper-card-background-color: "#1d1d1d"
paper-grey-200: "#191919"
paper-item-icon-color: "#d3d3d3"
paper-listbox-background-color: "#202020"
primary-background-color: "#303030"
primary-color: "#d32f2f"
primary-text-color: "#cfcfcf"
secondary-background-color: "#131313"
sidebar-text_-_background: "#62717b"
# Colors based on variables, see above
paper-card-header-color: "var(--paper-item-icon-color)"
paper-item-icon-active-color: "var(--primary-color)"
paper-item-icon_-_color: "var(--primary-text-color)"
paper-listbox-color: "var(--primary-text-color)"
paper-grey-50: "var(--primary-text-color)"
paper-slider-active-color: "var(--primary-color)"
paper-slider-knob-color: "var(--primary-color)"
paper-slider-knob-start-color: "var(--primary-color)"
paper-slider-pin-color: "var(--primary-color)"
paper-slider-secondary-color: "var(--light-primary-color)"
paper-toggle-button-checked-ink-color: "var(--dark-primary-color)"
paper-toggle-button-checked-button-color: "var(--primary-color)"
paper-toggle-button-checked-bar-color: "var(--light-primary-color)"
paper-toggle-button-unchecked-bar-color: "var(--primary-text-color)"
secondary-text-color: "var(--primary-color)"
table-row-background-color: "var(--paper-card-background-color)"
table-row-alternative-background-color: "var(--sidebar-text_-_background)"
white:
paper-grey-50: paper-grey-50
# paper-card-background-color: "#6e746d"
secondary-background-color: grey
emulated_hue:
type: google_home
host_ip: 192.168.3.8
listen_port: 80
# off_maps_to_on_domains:
# - script
# - scene
expose_by_default: true
exposed_domains:
- light
- script
- media_player
- group
######## #DEFINITION DES SENSORS ###########
sensor: !include devices/sensors.yaml
######### DEFINITION DES MOTEURS TTS ###########
tts:
- platform: google
language: 'fr'
cache: true
cache_dir: /tmp/tts
time_memory: 300
- platform: picotts
language: 'fr-FR'
######### DEFINITION DES DETECTEURS DE MOUVEMENTS ###########
binary_sensor:
- platform: rfxtrx
automatic_add: False
# automatic_add: True
devices:
091300479308f9019a70:
name: mvtsdb
data_bits: 4
command_on: 0x9
command_off: 0x0
device_class: motion
fire_event: True
off_delay:
seconds: 5
09130025ecad69019f80:
name: mvtwc
data_bits: 4
command_on: 0x9
command_off: 0x0
device_class: motion
fire_event: True
off_delay:
seconds: 5
timer:
timerwc:
duration: '00:02:00'
timersdb:
duration: '00:04:00'
timersdbnight:
duration: '00:01:00'
# apiai:
# intents:
# GetTemperature:
# speech: Voici les temperatures de la maison, il fait {{ states('sensor.salon_temperature') }} degrés dans le salon, {{ states('sensor.tempchambre_temperature') }} degrés dans le chambre, {{ states('sensor.tempetage_temperature')}} degrés à l etage, {{ states('sensor.tempsdb_temperature')}} degrés dans la salle de bain et {{ states('sensor.tempext_temperature')}} degrés à l'exterieur.
# async_action: False
# SurfAi:
# speech: Voici les conditions mises à jour !
# async_action: False
# action:
# - service: notify.teleha
# data:
# title: surfcast
# message: Surf Alert
# data:
# photo:
# - file: /home/gano/.homeassistant/www/surf/surf.png
# BonjourAction:
# async_action: False
# RoutesAi:
# speech: Pour aller au travail il vous faudra {{ states('sensor.travail') }} minutes et pour la plage il faudra {{ states('sensor.plage') }} minutes.
# async_action: False
octoprint:
# - name: aneta8
# host: 192.168.10.5
# api_key: !secret octoapi
# bed: true
# number_of_tools: 1
host: 192.168.10.18
api_key: !secret octoapi2
bed: true
number_of_tools: 1
######### DEFINITION DU PANNEAU D'ALARME ###########
alarm_control_panel:
platform: manual
code: !secret codeal
map:
######### DEFINITION DU RFXCOM ###########
rfxtrx:
device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1RTHG3-if00-port0
# debug:
################### HISTORY GRAPH ########
history_graph:
gr1:
name: Crypto Graph
entities:
# - sensor.gaineth
# - sensor.gainripple
# - sensor.gainltc
- sensor.gaintotal
hours_to_show: 240
refresh: 120
######### DEFINITION DU PANEL ###########
panel_custom:
- name: floorplan
sidebar_title: Floorplan
sidebar_icon: mdi:home
url_path: floorplan
config: !include floorplan.yaml
######### DEFINITION DU COMPTE GOOGLE ###########
google:
client_id: !secret googleclient_id
client_secret: !secret googleclient_secret
# image_processing:
# - platform: dlib_face_identify
# source:
# - entity_id: camera.salon1
# - entity_id: camera.salon2
# - entity_id: camera.salon3
# faces:
# Arnaud: /home/gano/.homeassistant/faces/arno2.jpg
# Maeva: /home/gano/.homeassistant/faces/maeva.jpg
# Marina: /home/gano/.homeassistant/faces/marina.jpg
######### DEFINITION DU BROKER MQTT LOCAL ###########
mqtt:
#broker: 192.168.10.21
broker: 192.168.3.8
port: 1883
client_id: hadash
keepalive: 60
username: hadash
password: hadash
input_text:
text1:
name: Text 1
pattern: '[a-fA-F0-9]*'
######### DEFINITION DES INPUT_SLIDER ###########
input_number:
vacuumhour:
name: Heure
icon: mdi:timer
initial: 9
min: 0
max: 23
step: 1
mode: slider
vacuuminutes:
name: Minutes
icon: mdi:timer
initial: 45
min: 0
max: 59
step: 5
mode: slider
alarmhour:
name: Heure
icon: mdi:timer
initial: 6
min: 0
max: 23
step: 1
mode: slider
alarmminutes:
name: Minutes
icon: mdi:timer
initial: 35
min: 0
max: 59
step: 5
mode: slider
luminosite:
name: Luminosité salon
icon: mdi:light
initial: 255
min: 0
max: 255
step: 5
mode: slider
temperature:
name: Temperature Maison
icon: mdi:timer
initial: 20
min: 10
max: 30
step: 0.5
mode: slider
######### DEFINITION DES INPUT_BOOLEAN ###########
input_boolean:
vacuumauto:
name: Mode Auto
initial: off
stopsoir:
name: Eteint la lumiere la nuit
initial: on
autoprint2:
name: Extinction auto A8
initial: off
autoprint:
name: Extinction auto CR10
initial: off
squeeze:
name: Squeeze PI Etat
initial: off
bonjour:
name: Service bonjour
initial: on
bye:
name: Service bye
initial: on
automa:
name: Automatisation
initial: on
alarmweekday:
name: Les jours de la semaine
initial: on
icon: mdi:calendar
alarmweekon:
name: Activee
initial: on
tvoffchambre:
name: Allume le radiateur la nuit
initial: off
envoipic:
name: Envoi video capturee
initial: off
cast_light:
name: Chromecast lumieres
initial: off
icon: mdi:spotlight-beam
freebox:
name: Reveil Freebox
initial: off
icon: mdi:power
rainbow_light:
name: Effet Lumieres
initial: off
icon: mdi:traffic-light
bieres:
name: bieres
initial: off
icon: mdi:bitbucket
papierwc:
name: papier wc
initial: off
icon: mdi:emoticon-poop
coca:
name: coca
initial: off
icon: mdi:bitbucket
lessive:
name: lessive
initial: off
icon: mdi:car-wash
poulet:
name: poulet
initial: off
icon: mdi:paw
steak:
name: steak
initial: off
icon: mdi:paw
poisson:
name: poisson
initial: off
icon: mdi:fish
shampooing:
name: shampooing
initial: off
icon: mdi:car-wash
geldouche:
name: gel douche
initial: off
icon: mdi:car-wash
cafe:
name: cafe
initial: off
icon: mdi:coffee
petitdej:
name: a bouffer pour le matin
initial: off
icon: mdi:coffee
cremefraiche:
name: creme fraiche
initial: off
icon: mdi:bitbucket
tomates:
name: tomates
initial: off
icon: mdi:food-apple
pommedeterre:
name: pommes de terre
initial: off
icon: mdi:food
poivron:
name: poivrons
initial: off
icon: mdi:food-apple
oignon:
name: oignons
initial: off
icon: mdi:food-apple
pizza:
name: pizzas
initial: off
icon: mdi:pizza
riz:
name: Riz
initial: off
icon: mdi:food
pates:
name: pates
initial: off
icon: mdi:food-variant
jambon:
name: jambon
initial: off
icon: mdi:food
apero:
name: apero
initial: off
icon: mdi:food
sacpoubelle:
name: sacs poubelle
initial: off
icon: mdi:delete
deo:
name: déodorant
initial: off
icon: mdi:weather-windy
dentifrice:
name: dentifrice
initial: off
icon: mdi:brush
oeufs:
name: oeufs
initial: off
icon: mdi:food
lait:
name: lait
initial: off
icon: mdi:food
trackme_arno:
name: tracking arnaud
initial: on
######### DEFINITION DES INPUT_SELECT ###########
input_select:
themesi:
name: 'Themes'
options:
- noir
- rouge
- vert
- jaune
- bleu
- cyan
- dark
- white
initial: noir
categorie2:
name: 'Type'
options:
- Choisir
- divertissement
- documentaires
- films-telefilms
- jeunesse
- magazine
- sport
initial: Choisir
radio_station:
name: 'Radio Station:'
options:
- Franceinfo
- Jazz
- Nova Sauvagine
chromecast_radio:
name: 'Select Speakers:'
options:
- Google Home
- Raspberry PI2
- Shield
initial: Google Home
icon: mdi:speaker-wireless
freeplayon:
name: "Etat Allume Eteint Freebox"
initial: "Off"
options:
- "On"
- "Off"
chainefree:
name: "Freebox Chaines"
icon: mdi:remote
initial: "iTele"
options:
- "TF1"
- "France2"
- "France3"
- "CanalPlus"
- "France5"
- "M6"
- "Arte"
- "D8"
- "W9"
- "TMC"
- "NT1"
- "NRJ12"
- "LCP"
- "France4"
- "BFMTv"
- "iTele"
- "D17"
- "Gulli"
- "FranceÔ"
- "HD1"
- "LEquipe21"
- "6Ter"
- "Numero23"
- "RMC Decouverte"
- "Cherie25"
- "RTL9"
######### DEFINITION DES COMMANDES SHELL POUR LA FREEBOX ###########
shell_command: !include shell_commands.yaml
######### DEFINITION DES SWITCH WEMO ET DES DETECTEUR DE MVT RFX ###########
switch:
- platform: wemo
static: []
scan_interval: 10
- platform: broadlink
host: 192.168.10.3
mac: '34:EA:34:C9:A0:4D'
friendly_name: MP1
type: mp1
slots:
# friendly name of slots - optional
# if not set, slot name will be switch's friendly_name + 'slot {slot_index}'. e.g 'MP1 slot 1'
slot_1: 'Creality CR10'
slot_2: 'Lampe Print'
slot_3: 'Raspberry'
slot_4: 'Anet A8'
vacuum:
- platform: xiaomi_miio
host: 192.168.3.45
#token: 72506f6c724975316453796254733453
token: 3046316142784d725568526f58356139
name: Xiaomi vacuum
# Enables support for tracking state changes over time.
history:
# Track the sun
sun:
# Show links to resources in log and frontend
# View all events in a logbook
logbook:
logger:
default: warn
logs:
# homeassistant.components.camera: fatal
requests.packages.urllib3: critical
urllib3.connectionpool: critical
http:
api_password: !secret httpapi_password
base_url: !secret httpbase_url
device_tracker: !include devices/tracker.yaml
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend
conversation:
# Checks for available updates
updater:
telegram_bot:
#- platform: broadcast
- platform: polling
api_key: !secret teleapi_key
# parse_mode: html
allowed_chat_ids:
- !secret telechat_id
######### DEFINITION DES SYSTEMES DE NOTIFICATION ###########
notify:
# - platform: pushbullet
# api_key: !secret pushapi_key
# name: pushgano
- platform: telegram
name: teleha
api_key: !secret teleapi_key
chat_id: !secret telechat_id
media_player: !include devices/media_players.yaml
######### DEFINITION DES LUMIERES ###########
light:
platform: hue
host: 192.168.3.50
scan_interval: 4
allow_hue_groups: true
######### DEFINITION DES CAMERAS / IMAGES ###########
camera:
- platform: generic
still_image_url: http://api.sat24.com/animated/EU/infraPolair/2/Romance%20Standard%20Time/628670
#still_image_url: http://api.sat24.com/crop?type=visual5hdcomplete&lat=44.8378&lon=-0.5792&width=300&height=300&zoom=0.70&continent=eu
name: infrarouge
- platform: generic
still_image_url: http://api.sat24.com/animated/EU/visual/2/Romance%20Standard%20Time/555674
name: france
- platform: local_file
file_path: /config/www/surf/surf.png
#file_path: /home/gano/.homeassistant/www/surf/surf.png
name: surf
- platform: local_file
#file_path: /home/gano/.homeassistant/www/QR_CODE.png
file_path: /config/www/QR_CODE.png
name: qrcode
# - platform: zoneminder
# - platform: mjpeg
# mjpeg_url: http://192.168.10.15:9900
# #name: ganovideo
# name: salon1
# - platform: mjpeg
# mjpeg_url: http://192.168.10.15:9902
# name: salon2
- platform: ffmpeg
input: /config/www/surf/webcamsurf.mp4
#input: /home/gano/.homeassistant/www/surf/webcamsurf.mp4
name: webcamsurf
- platform: mjpeg
mjpeg_url: http://192.168.10.18:8080/?action=stream
name: octocam
######### DEFINITION DES GROUPES ###########
group: !include_dir_merge_named group
######### DEFINITION DES SCENES ###########
scene: !include scenes.yaml
######### DEFINITION DES AUTOMATISATIONS ###########
#automation: !include automations.yaml
automation: !include automation.yaml
######### DEFINITION DES SCRIPTS ###########
script:
tvoff:
alias: tele off
sequence:
- alias: tele
service: media_player.turn_off
data:
entity_id: media_player.tele_du_salon
vacuumon:
alias: Menage On
sequence:
- alias: menageon
service: vacuum.turn_on
data:
entity_id: vacuum.xiaomi_vacuum
vacuumoff:
alias: Menage Off
sequence:
- alias: menageoff
service: vacuum.turn_off
data:
entity_id: vacuum.xiaomi_vacuum
soireeoff:
alias: soiree off
sequence:
- alias: soiree
service: input_boolean.turn_off
data:
entity_id: input_boolean.rainbow_light
- alias: normal
service: scene.turn_on
data:
entity_id: scene.salon_normal
soireon:
alias: soiree on
sequence:
- alias: soiree
service: input_boolean.turn_on
data:
entity_id: input_boolean.rainbow_light
eclairage:
alias: eclairage on
sequence:
- alias: eclairage
service: scene.turn_on
data:
entity_id: scene.salon_normal
eclairageoff:
alias: eclairage off
sequence:
- alias: eclairage
service: scene.turn_on
data:
entity_id: scene.eteint
cinemaoff:
alias: cinema off
sequence:
- alias: cinema
service: input_boolean.turn_off
data:
entity_id: input_boolean.cast_light
cinemaon:
alias: cinema on
sequence:
- alias: cinema
service: input_boolean.turn_on
data:
entity_id: input_boolean.cast_light
squeezeoff:
alias: arrete squeeze
sequence:
- alias: squeeze
service: media_player.media_pause
data:
entity_id: media_player.pine64
squeeze:
alias: lance squeeze
sequence:
- alias: squeeze
service: media_player.media_play
data:
entity_id: media_player.pine64
envoiliste:
alias: Envoi Liste
sequence:
- alias: Envoi la liste des courses
# service: notify.pushgano
service: notify.teleha
data:
title: Liste des courses
message: "{% if is_state('input_boolean.bieres', 'on') %} - Bieres {% endif %}{% if is_state('input_boolean.papierwc', 'on') %} - Papier WC {% endif %}{% if is_state('input_boolean.coca', 'on') %} - Coca Cola{% endif %}{% if is_state('input_boolean.lessive', 'on') %} - Lessive {% endif %}{% if is_state('input_boolean.poulet', 'on') %} - Poulet {% endif %}{% if is_state('input_boolean.steak', 'on') %} - Steaks {% endif %}{% if is_state('input_boolean.poisson', 'on') %} - Poisson {% endif %}{% if is_state('input_boolean.shampooing', 'on') %} - Shampooing {% endif %}{% if is_state('input_boolean.geldouche', 'on') %} - Gel Douche {% endif %}{% if is_state('input_boolean.cafe', 'on') %} - Cafe {% endif %}{% if is_state('input_boolean.petitdej', 'on') %} - De la bouffe pour le petit dejeuner {% endif %}{% if is_state('input_boolean.cremefraiche', 'on') %} - Creme fraiche {% endif %}{% if is_state('input_boolean.tomates', 'on') %} - Tomates {% endif %}{% if is_state('input_boolean.pommedeterre', 'on') %} - Pommes de Terre {% endif %}{% if is_state('input_boolean.poivron', 'on') %} - Poivrons {% endif %}{% if is_state('input_boolean.oignon', 'on') %} - Oignons {% endif %}{% if is_state('input_boolean.pizza', 'on') %} - Pïzzas {% endif %}{% if is_state('input_boolean.riz', 'on') %} - Riz {% endif %}{% if is_state('input_boolean.pates', 'on') %} - Pates {% endif %}{% if is_state('input_boolean.jambon', 'on') %} - Jambon {% endif %}{% if is_state('input_boolean.apero', 'on') %} - Des trucs pour l'apéro {% endif %}{% if is_state('input_boolean.sacpoubelle', 'on') %} - Sacs poubelle {% endif %}{% if is_state('input_boolean.deo', 'on') %} - déodorant {% endif %}{% if is_state('input_boolean.dentifrice', 'on') %} - Dentifrice {% endif %}{% if is_state('input_boolean.oeufs', 'on') %} - Oeufs {% endif %}{% if is_state('input_boolean.lait', 'on') %} - Lait {% endif %}{% if is_state('input_boolean.lardon', 'on') %} - Lardons {% endif %}{% if is_state('input_boolean.puree', 'on') %} - Purée {% endif %}{% if is_state('input_boolean.glace', 'on') %} - Glaces {% endif %}{% if is_state('input_boolean.dessert', 'on') %} - Dessert {% endif %}{% if is_state('input_boolean.paindemie', 'on') %} - Pain de mie {% endif %}{% if is_state('input_boolean.rhum', 'on') %} - Rhum {% endif %}{% if is_state('input_boolean.sopalin', 'on') %} - Sopalin {% endif %}{% if is_state('input_boolean.huileolive', 'on') %} - Huile d'olive {% endif %} !"
envoilistemiroir:
alias: Envoi Liste Miroir
sequence:
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.bieres', 'on') %} shell_command.miroirbieres {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.papierwc', 'on') %} shell_command.miroirwc {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.coca', 'on') %} shell_command.miroircoca {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.lessive', 'on') %} shell_command.miroirlessive {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.poulet', 'on') %} shell_command.miroirpoulet {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.steak', 'on') %} shell_command.miroirsteak {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.poisson', 'on') %} shell_command.miroirpoisson {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.shampooing', 'on') %} shell_command.miroirshampoo {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.geldouche', 'on') %} shell_command.miroirgeldouche {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.cafe', 'on') %} shell_command.miroircafe {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.petitdej', 'on') %} shell_command.miroirpetitdej {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.cremefraiche', 'on') %} shell_command.cremefraiche {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.tomates', 'on') %} shell_command.tomates {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.pommedeterre', 'on') %} shell_command.pommedeterre {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.poivron', 'on') %} shell_command.poivron {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.oignon', 'on') %} shell_command.oignon {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.pizza', 'on') %} shell_command.pizza {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.riz', 'on') %} shell_command.riz {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.pates', 'on') %} shell_command.pates {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.jambon', 'on') %} shell_command.jambon {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.apero', 'on') %} shell_command.apero {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.sacpoubelle', 'on') %} shell_command.sacpoubelle {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.deo', 'on') %} shell_command.deo {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.dentifrice', 'on') %} shell_command.dentifrice {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.oeufs', 'on') %} shell_command.oeufs {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.lardon', 'on') %} shell_command.lardon {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.puree', 'on') %} shell_command.puree {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.lait', 'on') %} shell_command.lait {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.glace', 'on') %} shell_command.glace {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.dessert', 'on') %} shell_command.dessert {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.paindemie', 'on') %} shell_command.paindemie {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.rhum', 'on') %} shell_command.rhum {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.sopalin', 'on') %} shell_command.sopalin {% endif %}
- alias: Envoi la liste des courses sur le miroir
service_template: >
{% if is_state('input_boolean.huileolive', 'on') %} shell_command.huileolive {% endif %}
effacelistemiroir:
alias: Efface Liste Miroir
sequence:
- alias: Efface la liste des courses sur le miroir
# service: notify.pushgano
service: shell_command.cleanmiroir
effacetodolist:
alias: Efface ToDo Miroir
sequence:
- alias: Efface la ToDo List sur le miroir
# service: notify.pushgano
service: shell_command.todoclear
addtodolist:
alias: Add ToDo Miroir
sequence:
- alias: Add la ToDo List sur le miroir
# service: notify.pushgano
service: shell_command.todoadd
effacetodolistid:
alias: Efface ToDo Miroir id
sequence:
- alias: Efface un element de la ToDo List
# service: notify.pushgano
service: shell_command.todoclearid
# data:
# title: Liste des courses
# message: "{% if is_state('input_boolean.bieres', 'on') %} - Bieres {% endif %}{% if is_state('input_boolean.papierwc', 'on') %} - Papier WC {% endif %}{% if is_state('input_boolean.coca', 'on') %} - Coca Cola{% endif %}{% if is_state('input_boolean.lessive', 'on') %} - Lessive {% endif %}{% if is_state('input_boolean.poulet', 'on') %} - Poulet {% endif %}{% if is_state('input_boolean.steak', 'on') %} - Steaks {% endif %}{% if is_state('input_boolean.poisson', 'on') %} - Poisson {% endif %}{% if is_state('input_boolean.shampooing', 'on') %} - Shampooing {% endif %}{% if is_state('input_boolean.geldouche', 'on') %} - Gel Douche {% endif %}{% if is_state('input_boolean.cafe', 'on') %} - Cafe {% endif %}{% if is_state('input_boolean.petitdej', 'on') %} - De la bouffe pour le petit dejeuner {% endif %}{% if is_state('input_boolean.cremefraiche', 'on') %} - Creme fraiche {% endif %}{% if is_state('input_boolean.tomates', 'on') %} - Tomates {% endif %}{% if is_state('input_boolean.pommedeterre', 'on') %} - Pommes de Terre {% endif %}{% if is_state('input_boolean.poivron', 'on') %} - Poivrons {% endif %}{% if is_state('input_boolean.oignon', 'on') %} - Oignons {% endif %}{% if is_state('input_boolean.pizza', 'on') %} - Pïzzas {% endif %}{% if is_state('input_boolean.riz', 'on') %} - Riz {% endif %}{% if is_state('input_boolean.pates', 'on') %} - Pates {% endif %}{% if is_state('input_boolean.jambon', 'on') %} - Jambon {% endif %}{% if is_state('input_boolean.apero', 'on') %} - Des trucs pour l'apéro {% endif %}{% if is_state('input_boolean.sacpoubelle', 'on') %} - Sacs poubelle {% endif %}{% if is_state('input_boolean.deo', 'on') %} - déodorant {% endif %}{% if is_state('input_boolean.dentifrice', 'on') %} - Dentifrice {% endif %}{% if is_state('input_boolean.oeufs', 'on') %} - Oeufs {% endif %}{% if is_state('input_boolean.lait', 'on') %} - Lait {% endif %}{% if is_state('input_boolean.lardon', 'on') %} - Lardons {% endif %}{% if is_state('input_boolean.puree', 'on') %} - Purée {% endif %}{% if is_state('input_boolean.glace', 'on') %} - Glaces {% endif %}{% if is_state('input_boolean.dessert', 'on') %} - Dessert {% endif %}{% if is_state('input_boolean.paindemie', 'on') %} - Pain de mie {% endif %}{% if is_state('input_boolean.rhum', 'on') %} - Rhum {% endif %}{% if is_state('input_boolean.sopalin', 'on') %} - Sopalin {% endif %}{% if is_state('input_boolean.huileolive', 'on') %} - Huile d'olive {% endif %} !"
colorloop:
alias: ColorLoop
sequence:
- alias: colorloop bureau
service: light.turn_on
entity_id: light.bureau
data:
brightness: 255
effect: colorloop
- alias: colorloop bibliocolor
service: light.turn_on
entity_id: light.bibliocolor
data:
brightness: 255
effect: colorloop
- alias: colorloop huestrip
service: light.turn_on
entity_id: light.hue_lightstrip_plus_1
data:
brightness: 255
effect: colorloop
- alias: colorloop table
service: light.turn_on
entity_id: light.couleur
data:
brightness: 255
effect: colorloop
allumehall:
alias: Allume hall
sequence:
- alias: Allume le hall
service: light.turn_on
entity_id: light.hall
data:
brightness: 255
- alias: Allume l'escalier
service: light.turn_on
entity_id: light.escalier
data:
brightness: 255
eteinthall:
alias: Eteint hall
sequence:
- alias: Eteint le hall
service: light.turn_off
entity_id: light.hall
- alias: Eteint l'escalier
service: light.turn_off
entity_id: light.escalier
allumechambre:
alias: Allume Chambre
sequence:
- alias: Allume la chambre
service: light.turn_on
entity_id: light.chambre
data:
brightness: 255
eteintchambre:
alias: Eteint Chambre
sequence:
- alias: Eteint la Chambre
service: light.turn_off
entity_id: light.chambre
# allumesalon:
# alias: Allume le rez de chaussée
# sequence: