1+ {
2+ "config" : {
3+ "step" : {
4+ "user" : {
5+ "description" : " If you need help with the configuration have a look here: https://github.com/andrew-codechimp/ha-battery-notes" ,
6+ "data" : {
7+ "device_id" : " Device" ,
8+ "name" : " Name"
9+ },
10+ "data_description" : {
11+ "name" : " Leaving blank will take the name from the source device"
12+ }
13+ },
14+ "battery" : {
15+ "data" : {
16+ "battery_type" : " Battery type" ,
17+ "battery_quantity" : " Battery quantity" ,
18+ "battery_low_threshold" : " Battery low threshold"
19+ },
20+ "data_description" : {
21+ "battery_low_threshold" : " 0 will use the global default threshold"
22+ }
23+ }
24+ },
25+ "abort" : {
26+ "already_configured" : " Device is already configured"
27+ },
28+ "error" : {
29+ "unknown" : " Unknown error occurred."
30+ }
31+ },
32+ "options" : {
33+ "step" : {
34+ "init" : {
35+ "description" : " If you need help with the configuration have a look here: https://github.com/andrew-codechimp/ha-battery-notes" ,
36+ "data" : {
37+ "name" : " Name" ,
38+ "battery_type" : " Battery type" ,
39+ "battery_quantity" : " Battery quantity" ,
40+ "battery_low_threshold" : " Battery low threshold"
41+ },
42+ "data_description" : {
43+ "name" : " Leaving blank will take the name from the source device" ,
44+ "battery_low_threshold" : " 0 will use the global default threshold"
45+ }
46+ }
47+ },
48+ "error" : {
49+ "unknown" : " Unknown error occurred."
50+ }
51+ },
52+ "entity" : {
53+ "binary_sensor" : {
54+ "battery_low" : {
55+ "name" : " Battery low" ,
56+ "state_attributes" : {
57+ "battery_low_threshold" : {
58+ "name" : " Battery low threshold"
59+ }
60+ }
61+ }
62+ },
63+ "button" : {
64+ "battery_replaced" : {
65+ "name" : " Battery replaced"
66+ }
67+ },
68+ "sensor" : {
69+ "battery_plus" : {
70+ "name" : " Battery+" ,
71+ "state_attributes" : {
72+ "battery_type" : {
73+ "name" : " Battery type"
74+ },
75+ "battery_quantity" : {
76+ "name" : " Battery quantity"
77+ },
78+ "battery_type_and_quantity" : {
79+ "name" : " Battery type and quantity"
80+ },
81+ "battery_last_replaced" : {
82+ "name" : " Battery last replaced"
83+ },
84+ "battery_low" : {
85+ "name" : " Battery low"
86+ },
87+ "battery_low_threshold" : {
88+ "name" : " Battery low threshold"
89+ },
90+ "battery_last_reported" : {
91+ "name" : " Battery last reported"
92+ },
93+ "battery_last_reported_level" : {
94+ "name" : " Battery last reported level"
95+ }
96+ }
97+ },
98+ "battery_type" : {
99+ "name" : " Battery type" ,
100+ "state_attributes" : {
101+ "battery_type" : {
102+ "name" : " Battery type"
103+ },
104+ "battery_quantity" : {
105+ "name" : " Battery quantity"
106+ }
107+ }
108+ },
109+ "battery_last_replaced" : {
110+ "name" : " Battery last replaced"
111+ }
112+ }
113+ },
114+ "services" : {
115+ "set_battery_replaced" : {
116+ "description" : " Set the battery last replaced." ,
117+ "fields" : {
118+ "device_id" : {
119+ "description" : " Device that has had it's battery replaced." ,
120+ "name" : " Device"
121+ },
122+ "datetime_replaced" : {
123+ "description" : " Date replaced." ,
124+ "name" : " Date"
125+ }
126+ },
127+ "name" : " Set battery replaced"
128+ }
129+ }
130+ }
0 commit comments