-
Notifications
You must be signed in to change notification settings - Fork 0
/
sensor.yaml
99 lines (90 loc) · 2.57 KB
/
sensor.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
#
# Battery levels
#
- platform: template
sensors:
jenny_phone_battery:
friendly_name: 'Jenny Phone Battery'
unit_of_measurement: '%'
device_class: battery
value_template: '{{ states.device_tracker.jenny_dcf29e171d2e436789b971c49dbc0499.attributes.battery }}'
entity_id: device_tracker.jenny_dcf29e171d2e436789b971c49dbc0499
katy_phone_battery:
friendly_name: 'Katy Phone Battery'
unit_of_measurement: '%'
device_class: battery
value_template: '{{ states.device_tracker.katy_phone.attributes.battery }}'
entity_id: device_tracker.katy_phone
#
# Temp Probes
#
- platform: rest
name: temp_values
resource: 'http://192.168.1.157/stateFull.xml'
username: !secret temp_username
password: !secret temp_password
value_template: '{{ value|replace("<"," <")|striptags() }}'
scan_interval: 180
- platform: template
sensors:
deep_freezer_temp:
friendly_name: 'Deep Freezer'
unit_of_measurement: '°F'
value_template: '{{ states("sensor.temp_values").split(" ")[1] }}'
entity_id: sensor.temp_values
freezer_temp:
friendly_name: 'Freezer'
unit_of_measurement: '°F'
value_template: '{{ states("sensor.temp_values").split(" ")[2] }}'
entity_id: sensor.temp_values
drink_fridge_temp:
friendly_name: 'Drink Fridge'
unit_of_measurement: '°F'
value_template: '{{ states("sensor.temp_values").split(" ")[3] }}'
entity_id: sensor.temp_values
garage_temp:
friendly_name: 'Garage Temp'
unit_of_measurement: '°F'
value_template: '{{ states("sensor.temp_values").split(" ")[4] }}'
entity_id: sensor.temp_values
#- platform: nzbget
# host: media.local
# monitored_variables:
# - download_paused
# - average_download_rate
# - download_rate
# - download_size
# - remaining_size
# - free_disk_space
#- platform: deluge
# host: media.local
# username: !secret deluge_username
# password: !secret deluge_password
# monitored_variables:
# - current_status
# - download_speed
# - upload_speed
- platform: ring
#- platform: radarr
# api_key: !secret radarr_api_key
# host: media.local
# urlbase: /movies
# monitored_conditions:
# - upcoming
# - commands
# - status
#- platform: sonarr
# api_key: !secret sonarr_api_key
# host: media.local
# urlbase: /tv
# monitored_conditions:
# - upcoming
# - wanted
# - queue
# - status
#- platform: ups
# username: !secret ups_username
# password: !secret ups_password
#- platform: fedex
# username: !secret fedex_username
# password: !secret fedex_password