forked from PMaxx-Gaming/hass_config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sensors.yaml
59 lines (54 loc) · 1.54 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
- platform: yr
- 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: template
sensors:
converted_pool_temp:
value_template: "{{ ((states('sensor.sonoff_10006d39cd_temperature') | float) * 1.8) + 32 }}"
- platform: template
sensors:
last_alexa:
entity_id:
- media_player.bedroom
- media_player.spare_bedroom
- media_player.basement
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.google_maps_105061153431673582287.attributes.battery_level | round}}"
unit_of_measurement: "%"