-
Notifications
You must be signed in to change notification settings - Fork 3
/
sensors.yaml
80 lines (72 loc) · 2.03 KB
/
sensors.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
- platform: yr
- platform: uptime
name: Days since last restart
unit_of_measurement: days
- platform: darksky
api_key: !secret darksky_key
forecast:
- 1
monitored_conditions:
- icon
- summary
- nearest_storm_distance
- nearest_storm_bearing
- humidity
- temperature
- temperature_high
- temperature_low
- apparent_temperature
- apparent_temperature_high
- apparent_temperature_low
- wind_speed
- wind_bearing
- precip_type
- precip_probability
- precip_accumulation
- precip_intensity
- precip_intensity_max
- uv_index
- daily_summary
- pressure
- visibility
scan_interval:
minutes: 5
- platform: deluge
host: 192.168.1.240
username: !secret deluge_user
password: !secret deluge_pass
monitored_variables:
- 'current_status'
- 'download_speed'
- 'upload_speed'
- platform: template
sensors:
converted_pool_temp:
value_template: "{{ (((states('sensor.hac1_temp') | float) * 1.8) + 32) | round(2) }}"
- platform: template
sensors:
last_alexa:
entity_id:
- media_player.bedroom
- media_player.spare_bedroom
- media_player.basement
- media_player.garage
- media_player.echo_show
value_template: >
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }}
- platform: template
sensors:
speedtest_last_updated:
friendly_name: "Last Updated"
value_template: "{{ as_timestamp(states.sensor.speedtest_download.last_updated) | timestamp_custom('%I:%M %p %Z') }}"
- platform: template
sensors:
patricks_phone_battery:
friendly_name: "Patrick's Phone Battery"
value_template: "{{states.device_tracker.patricks_phone.attributes.battery_level | round}}"
unit_of_measurement: "%"
- platform: template
sensors:
patrick_speed:
friendly_name: "Patrick's Speed"
value_template: "{{states.device_tracker.patricks_phone.attributes.speed | round}}"