-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.yaml
113 lines (97 loc) · 2.99 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
---
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: !secret homeassistant.latitude
longitude: !secret homeassistant.longitude
country: US
currency: USD
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 349
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles
customize: !include customize.yaml
packages: !include_dir_named packages
external_url: !secret http.base_url
internal_url: !secret http.base_url
auth_providers:
- type: command_line
command: /usr/local/bin/ldap-auth.sh
args: ["/usr/local/bin/home-assistant.cfg"]
meta: true
- type: trusted_networks
trusted_networks: !secret homeassistant.auth_providers.trusted_networks
trusted_users: !secret homeassistant.auth_providers.trusted_users
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
lovelace:
mode: storage
dashboards:
my-home:
mode: yaml
title: Home
filename: dashboards/home.yaml
show_in_sidebar: true
icon: mdi:home
lovelace_gen:
http:
# Uncomment this if you are using SSL or running in Docker etc
ip_ban_enabled: false
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
recorder:
db_url: !secret recorder.db_url
auto_purge: false
exclude:
entities:
- sensor.upstairs_roborock_map
- sensor.downstairs_roborock_map
mqtt:
sensor:
- name: Line 103 Status
unique_id: af52d391-499c-462b-9af6-588c42ddd4ed-status
state_topic: sip2mqtt/103
icon: mdi:bell
value_template: "{{ value_json.verb }}"
- name: Line 103 Caller Number
unique_id: af52d391-499c-462b-9af6-588c42ddd4ed-caller-number
state_topic: sip2mqtt/103
icon: mdi:bell
value_template: '{{ value_json.caller.split(" ")[-1] }}'
- name: Line 103 Caller Name
unique_id: af52d391-499c-462b-9af6-588c42ddd4ed-caller-name
state_topic: sip2mqtt/103
icon: mdi:bell
value_template: '{{ value_json.caller.split(" ")[:-1]|join(" ", )}}'
binary_sensor:
- name: Front Door Motion Sensor
state_topic: BlueIris/FrontDoorSd/motion
unique_id: 749ef54c-b0ad-4118-8906-c820de92bdfc
device_class: motion
automation: !include automations.yaml
automation old: !include_dir_list automations
group: !include_dir_named groups
sensor:
- platform: time_date
display_options:
- 'time'
python_script:
spotcast:
sp_dc: !secret spotcast.sp_dc
sp_key: !secret spotcast.sp_key
script: !include scripts.yaml
smartir:
check_updates: false
# fan:
# - platform: smartir
# name: Master Bedroom Fan
# unique_id: master_bedroom_fan
# controller_data: remote.master_bedroom_ir_transmitter_remote
# device_code: 1140