This repository has been archived by the owner on Oct 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsensors.yaml
74 lines (71 loc) · 1.43 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
#Dining Room Fire Tablet
- platform: rest
name: Kiosk Device Info
resource: !secret rest_url_kiosk_device_info
json_attributes:
- screenBrightness
- isScreenOn
value_template: 'OK'
- platform: rest
name: fire_dining
json_attributes:
- batteryLevel
- kioskMode
- screenBrightness
- motionDetectorState
- maintenanceMode
- appFreeMemory
- appUsedMemory
- totalFreeMemory
- totalUsedMemory
- hostname4
- ip4
- mac
- locationLatitude
- locationLongitude
- locationAltitude
- startUrl
- currentPage
resource: !secret fire_dining
value_template: '{{ value_json.isScreenOn }}'
- platform: template
sensors:
fire_dining_battery_level:
friendly_name: "fire_tablet_dining_battery_level"
unit_of_measurement: '%'
value_template: "{{ states.sensor.fire_dining.attributes.batteryLevel }}"
# Darksky Config
- platform: darksky
api_key: !secret darksky_api_key
scan_interval: 300
forecast:
- 0
- 1
- 2
- 3
hourly_forecast:
- 0
- 1
monitored_conditions:
- summary
- icon
- nearest_storm_distance
- precip_type
- precip_intensity
- precip_probability
- temperature
- apparent_temperature
- dew_point
- wind_speed
- wind_bearing
- cloud_cover
- humidity
- pressure
- visibility
- ozone
- hourly_summary
- daily_summary
- moon_phase
- alerts
- sunrise_time
- sunset_time