-
Notifications
You must be signed in to change notification settings - Fork 2
/
configuration.yaml
940 lines (905 loc) · 28.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
---
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 127.0.0.1
- ::1
- 192.168.0.0/24
- 2001:DB8:ABCD::/48
- fd00::/8
- 172.30.33.0/24
allow_bypass_login: true
# allowlist_external_dirs:
# - "/share/scripts"
# - "/media/netboot"
default_config:
input_boolean:
config:
system_health:
api:
mobile_app:
http:
#ssl_certificate: !secret ssl_certificate
#ssl_key: !secret ssl_key
use_x_forwarded_for: true
ip_ban_enabled: true
login_attempts_threshold: 4
# server_port: !secret port
trusted_proxies:
- 127.0.0.1
- 192.168.0.0/16
- 172.30.0.0/18 # NGINX Proxy Manager
- 172.30.33.0/24 # NGINX Proxy Manager
- 172.30.33.7
- 103.21.244.0/22 # Here and below -> Cloudflare
- 103.22.200.0/22
- 103.31.4.0/22
- 104.16.0.0/12
- 108.162.192.0/18
- 131.0.72.0/22
- 141.101.64.0/18
- 162.158.0.0/15
- 172.64.0.0/13
- 173.245.48.0/20
- 188.114.96.0/20
- 190.93.240.0/20
- 197.234.240.0/22
- 198.41.128.0/17
- 103.21.244.0/22
- 103.22.200.0/22
- 103.31.4.0/22
- 104.16.0.0/12
- 108.162.192.0/18
- 131.0.72.0/22
- 141.101.64.0/18
- 162.158.0.0/15
- 172.64.0.0/13
- 173.245.48.0/20
- 188.114.96.0/20
- 190.93.240.0/20
- 197.234.240.0/22
- 198.41.128.0/17
recorder:
purge_keep_days: 7
exclude:
domains:
- automation
- weblink
- updater
- scene
- calendar
- input_select
- counter
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
- input_number.lautstarke_ansagen
- sensor.fs_smspin
- sensor.fs_caller
- sensor.lichtschalter
- sensor.deckenlampe
- sensor.strip_keller
- sensor.coal_lighter_finish_duration
- sensor.washing_machine_finish_duration
- sensor.washing_machine_finish_time
- sensor.washing_machine_mode
- sensor.washing_machine_state
- sensor.dwd_weather_warnings_advance_warning_level
- sensor.dwd_weather_warnings_current_warning_level
- counter.pille
- sensor.xiaomi_miio_cooker_favorite
- sensor.xiaomi_miio_cooker_duration
- sensor.xiaomi_abd8_uptime
- sensor.xiaomi_89fb_7604_uptime
- sensor.fritz_box_3490_device_uptime
- sensor.fritz_box_3490_connection_uptime
- sensor.fritz_box_3490_max_kbit_s_sent
- sensor.fritz_box_3490_max_kbit_s_received
- sensor.unavailable_entities
- sensor.rewe_440421
- sensor.icloud3_event_log
- sensor.juz_outlook
- sensor.5freunde_outlook
- sensor.chefkoch_random_recipe
- sensor.chefkoch_daily_recipe
- sensor.chefkoch_vegan_recipe
# Enables support for tracking state changes over time
history:
# Example configuration.yaml entry
alert:
james_stuck:
name: James hat ein Problem!
message: "James hat ein Problem: {{ states.sensor.valetudo_dreamez10pro_error_description.state }} - Die Reinigung wurde daher unterbrochen."
done_message: Maps Cookie wurde erneuert
entity_id: vacuum.valetudo_dreamez10pro
state: "error"
repeat: 60
can_acknowledge: true
skip_first: true
# View all events in a logbook
logbook:
logger:
filters:
homeassistant:
# This can happen during restart having Ingress tabs open.
# I really don't care about it.
- "Error doing job: Task exception was never retrieved"
homeassistant.loader:
# Really? Cool... I know... I installed them...
- "We found a custom integration"
custom_components.prismatik.prismatik:
- "Could not connect to Prismatik at*"
- "Could not connect to Prismatik at 192.168.178.16:3636"
custom_components.xiaomi_miio_cooker:
- "Got exception while fetching the state: Unable to discover the device 192.168.178.220"
custom_components.miwifi.updater:
- "connecting to router (attempt #10 of 10): LuciConnectionException*"
- "Error connecting to router (attempt #$ of 10): LuciConnectionException*"
homeassistant.helpers.entity:
- "Update of * is taking over 10 seconds"
homeassistant.components.switch:
- "Setup of switch platform adguard is taking over 10 seconds."
homeassistant.components.google_maps.device_tracker:
- "Ignoring * update because timestamp is older than last timestamp"
homeassistant.components.light:
- "Setup of light platform prismatik is taking over 10 seconds."
homeassistant.helpers.service:
- "Unable to find referenced entities$"
homeassistant.config_entries:
- "Config entry 'Keller TV' for nfandroidtv integration not ready yet: Failed to connect; Retrying in background"
- "Config entry 'Wohnzimmer TV' for nfandroidtv integration not ready yet: Failed to connect; Retrying in background"
default: warning
logs:
# custom_components.xiaomi_airfryer: debug
# custom_components.deutschebahn: debug
# custom_components.rewe: debug
# custom_components.foodsharing: debug
# custom_components.dwd_illuminance: debug
# custom_components.chefkoch_ha: debug
# custom_components.kadermanager: debug
# custom_components.boulderwelt: debug
# custom_components.mvg: debug
# custom_components.tasmota_fw_test: debug
# custom_components.dieliga: debug
# custom_components.phoenix_bad: debug
# custom_components.keyforsteam: debug
custom_components.openwrt: debug
# Track the sun
sun:
telegram_bot:
- platform: polling
api_key: !secret telegram_bot_api
allowed_chat_ids:
- !secret telegram_chat_fabian
- !secret telegram_chat_adrian
- !secret telegram_chat_kai
- !secret telegram_chat_flo
- !secret telegram_chat_maxi
- !secret telegram_chat_fabio
- !secret telegram_chat_yannick
- !secret telegram_chat_lars
- !secret telegram_chat_5friends
- !secret telegram_chat_juz_leiter
- !secret telegram_chat_afk
- !secret telegram_chat_polygon
- !secret telegram_chat_jutta
- !secret telegram_chat_juz_group
- !secret telegram_chat_juz_mail
- !secret telegram_chat_bouldern
- !secret telegram_spieletreff
- !secret telegram_foodsharing
- !secret telegram_foodsharing_muc
- !secret telegram_foodsharing_wue
- !secret telegram_volleyball
- !secret telegram_chat_michelle
- !secret telegram_chat_samuel
- !secret telegram_chat_daniel
- !secret telegram_chat_anna
- !secret telegram_chat_hannah
- !secret telegram_chat_janina
media_source:
# media_player:
# - platform: mpd
# host: 127.0.0.1
# speedtestdotnet:
# server_id: 21514
# coinbase:
# api_key: !secret coinbase_key
# api_secret: !secret coinbase_secret
# account_balance_currencies:
# - BTC
# exchange_rate_currencies:
# - BTC
template:
- sensor:
- name: "Unavailable Entities"
unique_id: unavailable_entities
icon: "{{ 'mdi:alert-circle' if states('sensor.unavailable_entities')|int(0) > 0 else 'mdi:check-circle' }}"
unit_of_measurement: entities
state: >
{% if state_attr('sensor.unavailable_entities','entities') |int(0) > 0 %}
{{ state_attr('sensor.unavailable_entities','entities')|count }}
{% else %}
0
{% endif %}
attributes:
entities: >
{% if state_attr('group.ignored_entities','entity_id') != none %}
{% set ignore_seconds = 800 %}
{% set ignore_ts = (now().timestamp() - ignore_seconds)|as_datetime %}
{{ states
|rejectattr('domain','eq','group')
|rejectattr('domain','eq','button')
|rejectattr('domain','eq','automation')
|rejectattr('domain','eq','device_tracker')
|rejectattr('entity_id','in',state_attr('group.ignored_entities','entity_id'))
|rejectattr('entity_id', 'search', '_internet_access')
|rejectattr('entity_id', 'search', '_do_not_disturb')
|rejectattr('entity_id', 'search', '_alarm_volume')
|rejectattr('entity_id', 'search', 'sensor.fabian_iphone_')
|rejectattr('entity_id', 'search', 'sensor.m2101k6g_')
|rejectattr('last_changed','ge',ignore_ts)
|selectattr('state','in',['unavailable','unknown','none'])|map(attribute='entity_id')|list }}
{% endif %}
- trigger:
- platform: time_pattern
hours: /1
action:
- service: weather.get_forecasts
data:
type: hourly
target:
entity_id: weather.ebersberg_ebersberg
response_variable: hourly
sensor:
- name: Weather Ebersberg Hourly
unique_id: weather_ebersberg_hourly
state: "{{ hourly['weather.ebersberg_ebersberg'].forecast[0].temperature }}"
availability: "{{ is_number(hourly['weather.ebersberg_ebersberg'].forecast[0].temperature) }}"
unit_of_measurement: °C
device_class: temperature
attributes:
forecast: "{{ hourly['weather.ebersberg_ebersberg'].forecast }}"
- trigger:
- platform: time_pattern
hours: /23
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.ebersberg_ebersberg
response_variable: daily
sensor:
- name: Weather Ebersberg Daily
unique_id: weather_ebersberg_daily
state: "{{ daily['weather.ebersberg_ebersberg'].forecast[0].temperature }}"
availability: "{{ is_number(daily['weather.ebersberg_ebersberg'].forecast[0].temperature) }}"
unit_of_measurement: °C
device_class: temperature
attributes:
forecast: "{{ daily['weather.ebersberg_ebersberg'].forecast }}"
- trigger:
- platform: event
event_type: "imap_content"
id: "reviewernetwork_mail"
sensor:
- name: reviewernetwork_mail
state: "{{ trigger.event.data['subject'] }}"
attributes:
Message: "{{ trigger.event.data['text'] }}"
Sender: "{{ trigger.event.data['sender'] }}"
Date: "{{ trigger.event.data['date'] }}"
To: "{{ trigger.event.data['headers'].get('Delivered-To', ['n/a'])[0] }}"
#command_line:
# - sensor:
# name: "processor_temperature"
# command: >
# read -r val </sys/class/thermal/thermal_zone0/temp;echo ${val}
# value_template: >
# {{value|multiply(0.001)|round(1)}}
# unit_of_measurement: "°C"
sensor: !include_dir_merge_list sensor
switch: !include_dir_merge_list switch
light: !include_dir_merge_list light
notify: !include_dir_merge_list notify
device_tracker: !include_dir_merge_list device_tracker
# no_ip:
# domain: !secret domain_noip
# username: !secret noip_username
# password: !secret noip_pw
rest_command:
fabian_pc_system_bridge:
method: POST
url: http://192.168.178.16:9170/command
headers:
api-key: !secret system_bridge_fabian
content_type: "application/json; charset=utf-8"
payload: '{ "command": "{{ command }}", "arguments": ["{{ arguments }}"] }'
# assistant_relay:
# method: POST
# url: http://192.168.31.2:3000/api/assistant
# content_type: "application/json"
# payload: '{"command":"{{ command }}", "user":"{{ user }}"}'
# assistant_broadcast:
# url: http://192.168.31.2:3000/api/assistant
# method: POST
# content_type: "application/json"
# payload: '{"command":"{{ command }}", "user":"{{ user }}", "broadcast":true}'
# assistant_converse:
# url: http://192.168.31.2:3000/api/assistant
# method: POST
# content_type: "application/json"
# payload: '{"command":"{{ command }}", "user":"{{ user }}", "converse":true}'
google_assistant:
project_id: !secret google_assistant_id
service_account: !include Homeassistant_google_assistant.json
report_state: true
exposed_domains:
- switch
- light
- input_boolean
- vacuum
- cover
expose_by_default: false
entity_config:
# Disabled Entitys
input_boolean.silent_mode:
expose: false
input_boolean.guest_mode:
expose: false
input_boolean.away_mode:
expose: false
input_boolean.climate_off:
expose: false
switch.hibernate_fabian_pc:
expose: false
switch.shutdown_fabian_pc:
expose: false
light.prismatik:
expose: false
light.miwifi_28_d1_27_fc_ab_d8_led:
expose: false
button.miwifi_28_d1_27_fc_ab_d8_reboot:
expose: false
switch.miwifi_28_d1_27_fc_ab_d8_wifi_2_4g:
expose: false
switch.miwifi_28_d1_27_fc_ab_d8_wifi_5g:
expose: false
light.xiaomi_89fb_7604_led:
expose: false
switch.xiaomi_89fb_7604_reboot:
expose: false
switch.kuche_speaker_do_not_disturb:
expose: false
switch.fabian_s_lautsprecher_do_not_disturb:
expose: false
switch.samuel_s_mini_do_not_disturb:
expose: false
switch.wohnzimmer_uhr_do_not_disturb:
expose: false
switch.schloss:
expose: false
switch.bett:
expose: false
switch.kohleanzunder:
expose: false
switch.samuel_pc_shutdown:
expose: false
switch.fabian_pc_shutdown:
expose: false
switch.fritzbox_3490_portforward_https_server:
expose: false
switch.fritzbox_3490_portforward_ssh:
expose: false
switch.fritz_box_3490_wi_fi_smartlife_fb:
expose: false
switch.fritz_box_3490_wi_fi_smartlife_fb_5ghz:
expose: false
switch.fritz_box_3490_wi_fi_fritz_box_gastzugang:
expose: false
switch.adguard_protection:
expose: false
switch.adguard_filtering:
expose: false
name: Adblocker
# Enabled Entitys
## Fabians Zimmer
light.regal:
name: Regal
expose: true
room: Fabians Zimmer
input_boolean.fabian_pc_strom:
name: Strom Fabian
expose: true
room: Fabians Zimmer
aliases:
- Schreibtisch Fabian
switch.bett_usb_ports:
name: Bett Steckdose
expose: true
room: Fabians Zimmer
light.lichtschalter:
name: Licht Schalter
expose: true
room: Fabians Zimmer
light.bett_gluhbirne:
name: Bett Glühbirne
expose: true
room: Fabians Zimmer
light.leds_tisch:
expose: true
room: Fabians Zimmer
light.mibedsidelamp2_22e2:
name: Bettlicht
expose: true
room: Fabians Zimmer
aliases:
- Nachtlicht
cover.fabians_zimmer_rollo:
expose: true
aliases:
- Rollo Fabians Zimmer
- Rollo Schlafzimmer
- Rolladen Fabians Zimmer
- Rolladen Schlafzimmer
- Jalousie Fabians Zimmer
- Jalousie Schlafzimmer
room: Fabians Zimmer
## Samuels Zimmer
light.deckenlampe_samuel:
expose: true
room: Samuels Zimmer
aliases:
- Samuel Licht
- Deckenlicht Samuel
- Deckenlampe Samuel
light.samuels_lichtschalter:
expose: true
room: Samuels Zimmer
aliases:
- Lichtschalter Samuel
- Schalter Samuel
light.lampe_samuel:
expose: true
room: Samuels Zimmer
light.samuel_leds:
expose: true
room: Samuels Zimmer
switch.fernseher_samuel:
name: Fernseher Samuel
expose: true
room: Samuels Zimmer
switch.schreibtisch_samuel:
expose: false
room: Samuels Zimmer
switch.samuel_schreibtisch_usb_ports:
expose: true
room: Samuels Zimmer
input_boolean.samuel_pc_strom:
name: Samuel PC
expose: true
room: Samuels Zimmer
aliases:
- Schreibtisch Samuel
- Computer Samuel
- PC Samuel
## Wohnzimmer
light.deckenlampe:
expose: true
room: Wohnzimmer
light.leds_wohnzimmer_tv:
name: LEDs Wohnzimmer TV
expose: true
room: Wohnzimmer
light.leds_wohnzimmer:
expose: true
room: Wohnzimmer
light.stehlampe:
expose: true
room: Wohnzimmer
switch.fernseher:
name: Strom Fernseher
expose: true
room: Wohnzimmer
aliases:
- Fernseher
- TV
switch.staubsauger:
expose: true
room: Wohnzimmer
vacuum.valetudo_dreamez10pro:
expose: true
room: Wohnzimmer
aliases:
- Staubsaugroboter
cover.wohnzimmer_rollo_fenster:
expose: true
room: Wohnzimmer
aliases:
- Rollo Wohnzimmer Fenster
- Rolladen Wohnzimmer Fenster
- Jalousie Wohnzimmer Fenster
cover.wohnzimmer_rollo_tur:
expose: true
room: Wohnzimmer
aliases:
- Rollo Wohnzimmer Fenster
- Rolladen Wohnzimmer Fenster
- Jalousie Wohnzimmer Fenster
## Keller
switch.waschmaschine:
expose: true
room: Keller
switch.kuhlschrank:
expose: false
room: Keller
switch.keller_usb_ports:
name: USB Ports Keller
expose: true
room: Keller
switch.fernseher_keller:
expose: true
room: Keller
light.flutlicht_keller:
expose: true
room: Keller
light.deckenlampe_keller:
name: Deckenlampe Keller
expose: true
room: Keller
light.keller_leds_flaschen:
name: Keller LEDs Flaschen
expose: true
room: Keller
## Küche
switch.xiaomi_miio_cooker:
expose: true
room: Küche
switch.kuchengerate:
expose: true
room: Küche
aliases:
- Toaster
- Wasserkocher
alexa:
smart_home:
locale: de-DE
#endpoint: https://api.eu.amazonalexa.com/v3/events
#client_id: !secret amazon_alexa_id
#client_secret: !secret amazon_alexa_secret
filter:
exclude_entity_globs:
- switch.*_internet_access
- switch.*_pre_release
- switch.adguard_*
- switch.adaptive_lighting_*
- sensor.weather*
exclude_domains:
- sensor
- media_player
- input_select
- input_number
- input_datetime
- input_button
- climate
- binary_sensor
- alert
- select
- group
- number
- device_tracker
- remote
- weather
- update
exclude_entities:
- light.stehlampe_oben
- light.stehlampe_unten
- light.samuel_leds_links
- light.samuel_leds_rechts
- input_boolean.abwesend_modus
- input_boolean.gast_modus
- input_boolean.leiser_modus
- input_boolean.thermostate_aus
- camera.valetudo_dreamez10pro_map_data
- light.keller_gluhbirne
- light.lampe_gastezimmer
- light.prismatik
- light.smauel_leds_links
- light.smauel_leds_rechts
- light.stehlampe_oben
- light.stehlampe_unten
- switch.bett_gluhbirne
- switch.fernseher_old
- switch.leds_wohnzimmer
- switch.lenovo_uhr
- switch.rollo
- switch.ax3600_internet_access
- switch.c_pf38fwqx_internet_access
- switch.esp_3b62e5_internet_access
- switch.dreame_vacuum_p2028_internet_access
- switch.electricity_meter_6854_internet_access
- switch.esp_ef37a7_internet_access
- switch.esp_ef3fe9_internet_access
- switch.esp_efc698_internet_access
- switch.esp_fddeac_internet_access
- switch.fabian_pixel8pro_internet_access
- switch.google_nest_mini_internet_access
- switch.google_nest_mini_internet_access_2
- switch.homeassistant_internet_access
- switch.leds_wohnzimmer_internet_access
- switch.lenovo_internet_access
- switch.nest_audio_internet_access
- switch.rademacher_bridge_internet_access
- switch.strip_keller_internet_access
- switch.pc_192_168_178_49_internet_access
- switch.pc_192_168_178_37_internet_access
- switch.pc_192_168_178_45_internet_access
- switch.pc_192_168_178_45_internet_access_2
- switch.dell_internet_access
- switch.dell_internet_access_2
- switch.dell_internet_access_3
- switch.dell_internet_access_4
- switch.dell_internet_access_5
- switch.dell_internet_access_6
- switch.tado_internet_access
- switch.wlan0_internet_access
- switch.wlan0_internet_access_2
- switch.wlan0_internet_access_3
- switch.yeelink_light_bslamp2_mibt22e2_internet_access
- switch.fritz_box_3490_wi_fi_fritz_box_gastzugang
- switch.fritz_box_3490_wi_fi_smartlife_fb_2_4ghz
- switch.fritz_box_3490_wi_fi_smartlife_fb_5ghz
- switch.deutscher_wetterdienst_pre_release
- switch.foodsharing_de_pre_release
- switch.kadermanager_pre_release
- switch.rewe_discounts_pre_release
- camera.dreamez10pro_rendered_map
- media_player.alle_lautsprecher
- switch.fabians_lautsprecher_do_not_disturb
- switch.kuche_lautsprecher_do_not_disturb
- switch.samuels_lautsprecher_do_not_disturb
- switch.wohnzimmer_uhr_do_not_disturb
- switch.fabian_schreibtisch
- switch.flutlicht_keller
- switch.regal
- switch.leds_tisch_remote_access
- switch.bridge_auto_update
- switch.bridge_led_status
- switch.bridge_led_status_2
#include_domains:
# - vacuum
# - cover
# Enabled Entitys
#include_entities:
# ## Fabians Zimmer
# light.regal:
# input_boolean.fabian_pc_strom:
# switch.bett_usb_ports:
# light.lichtschalter:
# light.bett_gluhbirne:
# light.leds_tisch:
# light.mibedsidelamp2_22e2:
# cover.fabians_zimmer_rollo:
# ## Samuels Zimmer
# light.deckenlampe_samuel:
# light.samuels_lichtschalter:
# light.lampe_samuel:
# light.samuel_leds:
# switch.fernseher_samuel:
# switch.schreibtisch_samuel:
# switch.samuel_schreibtisch_usb_ports:
# input_boolean.samuel_pc_strom:
# ## Wohnzimmer
# light.deckenlampe:
# light.leds_wohnzimmer_tv:
# light.leds_wohnzimmer:
# light.stehlampe:
# switch.fernseher:
# switch.staubsauger:
# vacuum.valetudo_dreamez10pro:
# cover.wohnzimmer_rollo_fenster:
# cover.wohnzimmer_rollo_tur:
# ## Keller
# switch.waschmaschine:
# switch.kuhlschrank:
# switch.keller_usb_ports:
# switch.fernseher_keller:
# light.flutlicht_keller:
# light.deckenlampe_keller:
# light.keller_leds_flaschen:
# ## Küche
# switch.xiaomi_miio_cooker:
# switch.kuchengerate:
dialogflow:
intent_script:
washing_machine_finish_duration:
speech:
text: Die Waschmaschine braucht noch ungefähr {{ states('sensor.washing_machine_finish_duration') }} Stunden.
rice_cooker_finish_duration:
speech:
text: Der Reiskocher braucht noch ungefähr {{ states('sensor.xiaomi_miio_cooker_remaining') }} Minuten.
find_james:
speech:
text: James gibt nun einen Ton von sich.
action:
service: vacuum.locate
target:
entity_id: vacuum.valetudo_dreamez10pro
LocateIntent:
speech:
text: >
{%- for state in states.person -%}
{%- if state.name.lower() == given-name.lower() -%}
{{ state.name }} ist bei {{ state.state }}
{%- endif -%}
{%- else -%}
Leider kenne ich den Standort der Person {{ given-name }} nicht.
{%- endfor -%}
find_iPhone:
speech:
text: >
{%- if given-name.lower() == "fabian" or given-name.lower() == "fabi" or given-name.lower() == "samuel" or given-name.lower() == "vanessa" -%}
Ich lasse jetzt das Handy von {{ given-name }} klingeln
{%- else -%}
Leider kann ich das Handy von {{ given-name }} nicht suchen.
{%- endif -%}
action:
- service: automation.trigger
entity_id: automation.find_phone_fabian
# - service: automation.trigger
# entity_id: >
# {%- if User.lower() == "fabian" or User.lower() == "fabi" -%}automation.find_phone_fabian{%- elif User.lower() == "samuel" or User.lower() == "vanessa" -%}automation.find_phone_samuel{%- endif -%}
vacuum_room_cleaning:
speech:
text: Starte manuelle Raumreinigung in {{ Room }}.
action:
- choose:
- conditions:
- condition: template
value_template: "{{ ((Room)) == 'Wohnzimmer' }}"
sequence:
- service: mqtt.publish
data:
topic: valetudo/dreamez10pro/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["6"]}'
- conditions:
- condition: template
value_template: "{{ ((Room)) == 'Küche' }}"
sequence:
- service: mqtt.publish
data:
topic: valetudo/dreamez10pro/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["4"]}'
- conditions:
- condition: template
value_template: "{{ ((Room)) == 'Fabians Zimmer' }}"
sequence:
- service: mqtt.publish
data:
topic: valetudo/dreamez10pro/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["2"]}'
- conditions:
- condition: template
value_template: "{{ ((Room)) == 'Samuels Zimmer' }}"
sequence:
- service: mqtt.publish
data:
topic: valetudo/dreamez10pro/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["5"]}'
- conditions:
- condition: template
value_template: "{{ ((Room)) == 'Bad' }}"
sequence:
- service: mqtt.publish
data:
topic: valetudo/dreamez10pro/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["1"]}'
- conditions:
- condition: template
value_template: "{{ ((Room)) == 'Flur' }}"
sequence:
- service: mqtt.publish
data:
topic: valetudo/dreamez10pro/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["3"]}'
input_select:
washing_machine_status:
name: Washing Machine Status
options:
- Idle
- Running
- Finishing
- Clean
initial: Idle
rice_cooker_program:
name: Reiskocher Programm
options:
- Kochen 1h
- schnelles Kochen
- Porridge
- Wärmen
- Sonstiges
initial: schnelles Kochen
icon: mdi:import
vacuum_cleaning_location:
name: Raumauswahl
options:
- Wohnzimmer
- Küche
- Fabians-Zimmer
- Samuels-Zimmer
- Bad
- Flur
- Gesamt
initial: Gesamt
input_datetime:
cooker_start_time:
name: Reiskocher Startzeit
has_date: true
has_time: true
frontend:
themes: !include_dir_merge_named themes
group: !include groups.yaml
automation: !include_dir_merge_list automation
script: !include scripts.yaml
## Custom Components - has to be the end of the file due to GitHub Actions being unable to handle custom components stuff and will be removed there
# - platform: sonoff_lan_mode_r3
# name: Bett
# device_id: 100016e326
# api_key: !secret sonoff_lan_mode_r3_bett
# icon: mdi:power-plug
# - platform: sonoff_lan_mode_r3
# name: Waschmaschine
# device_id: 1000915e4d
# api_key: !secret sonoff_lan_mode_r3_waschmaschine
# icon: mdi:washing-machine
# - platform: sonoff_lan_mode_r3
# name: Sonoff Steckdose
# device_id: 1000134649
# api_key: !secret sonoff_lan_mode_r3_steckdose
# icon: mdi:power-plug
waste_collection_schedule:
sources:
- name: ics
args:
url: !secret waste_url
customize:
- type: Restabfall
alias: Restmüll
icon: mdi:trash-can
- type: BIO
alias: Bioabfall
icon: mdi:flower-outline
- type: Altpapier
alias: Papierabfall
icon: mdi:trash-can-outline
- type: Gelber Sack
icon: mdi:recycle
xiaomi_miio_cooker:
name: Xiaomi Rice Cooker
host: 192.168.178.61
token: !secret rice_cooker_token
model: chunmi.cooker.eh1
#o365:
# accounts:
# - account_name: 5Freunde
# client_id: !secret O365_client_id
# client_secret: !secret O365_client_secret
# track_new_calendar: False
# query_sensors:
# - name: "5freunde Outlook"
# max_items: 3
# download_attachments: False
# - account_name: JUZ
# client_id: !secret O365_client_id
# client_secret: !secret O365_client_secret
# track_new_calendar: False
# query_sensors:
# - name: "JUZ Outlook"
# max_items: 5
# download_attachments: False
whatsapp: