1+ {
2+ "config" : {
3+ "step" : {
4+ "user" : {
5+ "description" : " If you need help with the configuration have a look here: https://andrew-codechimp.github.io/HA-Battery-Notes/" ,
6+ "data" : {
7+ "association_type" : " Association type"
8+ },
9+ "menu_options" : {
10+ "device" : " Device (recommended)" ,
11+ "entity" : " Entity"
12+ },
13+ "title" : " Choose your association type"
14+ },
15+ "device" : {
16+ "data" : {
17+ "device_id" : " Device" ,
18+ "name" : " Name"
19+ },
20+ "data_description" : {
21+ "name" : " Leaving blank will take the name from the source device"
22+ }
23+ },
24+ "entity" : {
25+ "data" : {
26+ "source_entity_id" : " Entity" ,
27+ "name" : " Name"
28+ },
29+ "data_description" : {
30+ "name" : " Leaving blank will take the name from the source entity"
31+ }
32+ },
33+ "battery" : {
34+ "description" : " Manufacturer: {manufacturer}\n Model: {model}\n Model ID: {model_id}\n Hardware version: {hw_version}" ,
35+ "data" : {
36+ "battery_type" : " Battery type" ,
37+ "battery_quantity" : " Battery quantity" ,
38+ "battery_low_threshold" : " Battery low threshold" ,
39+ "battery_low_template" : " Battery low template"
40+ },
41+ "data_description" : {
42+ "battery_low_threshold" : " 0 will use the global default threshold" ,
43+ "battery_low_template" : " Template to determine a battery is low, should return true if low\n Only needed for non-standard battery levels"
44+ }
45+ },
46+ "manual" : {
47+ "description" : " This device is marked in the library as manual, variants use different battery types so it cannot be set in the library.\n The next step will allow you to set your battery type but please do not submit a device request." ,
48+ "title" : " Device manual configuration"
49+ }
50+ },
51+ "abort" : {
52+ "already_configured" : " Device is already configured"
53+ },
54+ "error" : {
55+ "unknown" : " Unknown error occurred." ,
56+ "unconfigurable_entity" : " It is not possible to add this entity to Battery Notes."
57+ }
58+ },
59+ "options" : {
60+ "step" : {
61+ "init" : {
62+ "description" : " Manufacturer: {manufacturer}\n Model: {model}\n Model ID: {model_id}\n Hardware version: {hw_version}" ,
63+ "data" : {
64+ "name" : " Name" ,
65+ "battery_type" : " Battery type" ,
66+ "battery_quantity" : " Battery quantity" ,
67+ "battery_low_threshold" : " Battery low threshold" ,
68+ "battery_low_template" : " Battery low template"
69+ },
70+ "data_description" : {
71+ "name" : " Leaving blank will take the name from the source device" ,
72+ "battery_low_threshold" : " 0 will use the global default threshold" ,
73+ "battery_low_template" : " Template to determine a battery is low, should return true if low\n Only needed for non-standard battery levels"
74+ }
75+ }
76+ },
77+ "error" : {
78+ "unknown" : " Unknown error occurred."
79+ }
80+ },
81+ "entity" : {
82+ "binary_sensor" : {
83+ "battery_low" : {
84+ "name" : " {device_name}Battery low" ,
85+ "state_attributes" : {
86+ "battery_low_threshold" : {
87+ "name" : " Battery low threshold"
88+ }
89+ }
90+ }
91+ },
92+ "button" : {
93+ "battery_replaced" : {
94+ "name" : " {device_name}Battery replaced"
95+ }
96+ },
97+ "sensor" : {
98+ "battery_plus" : {
99+ "name" : " {device_name}Battery+" ,
100+ "state_attributes" : {
101+ "battery_type" : {
102+ "name" : " Battery type"
103+ },
104+ "battery_quantity" : {
105+ "name" : " Battery quantity"
106+ },
107+ "battery_type_and_quantity" : {
108+ "name" : " Battery type and quantity"
109+ },
110+ "battery_last_replaced" : {
111+ "name" : " Battery last replaced"
112+ },
113+ "battery_low" : {
114+ "name" : " Battery low"
115+ },
116+ "battery_low_threshold" : {
117+ "name" : " Battery low threshold"
118+ },
119+ "battery_last_reported" : {
120+ "name" : " Battery last reported"
121+ },
122+ "battery_last_reported_level" : {
123+ "name" : " Battery last reported level"
124+ },
125+ "source_entity_id" : {
126+ "name" : " Source Entity Id"
127+ },
128+ "device_id" : {
129+ "name" : " Device Id"
130+ },
131+ "device_name" : {
132+ "name" : " Device name"
133+ }
134+ }
135+ },
136+ "battery_type" : {
137+ "name" : " {device_name}Battery type" ,
138+ "state_attributes" : {
139+ "battery_type" : {
140+ "name" : " Battery type"
141+ },
142+ "battery_quantity" : {
143+ "name" : " Battery quantity"
144+ }
145+ }
146+ },
147+ "battery_last_replaced" : {
148+ "name" : " {device_name}Battery last replaced"
149+ }
150+ }
151+ },
152+ "services" : {
153+ "set_battery_replaced" : {
154+ "description" : " Set the battery last replaced." ,
155+ "fields" : {
156+ "device_id" : {
157+ "description" : " Device that has had its battery replaced." ,
158+ "name" : " Device"
159+ },
160+ "entity_id" : {
161+ "description" : " Entity that has had its battery replaced (only used for entity associated battery notes)." ,
162+ "name" : " Entity"
163+ },
164+ "datetime_replaced" : {
165+ "description" : " Date replaced." ,
166+ "name" : " Date"
167+ }
168+ },
169+ "name" : " Set battery replaced"
170+ },
171+ "check_battery_last_reported" : {
172+ "description" : " Raise events for devices that haven't reported their battery level." ,
173+ "fields" : {
174+ "days_last_reported" : {
175+ "description" : " Number of days since a device last reported its battery level." ,
176+ "name" : " Days"
177+ }
178+ },
179+ "name" : " Check battery last reported"
180+ },
181+ "check_battery_low" : {
182+ "description" : " Raise events for devices that have a low battery." ,
183+ "name" : " Check battery low"
184+ }
185+ }
186+ }
0 commit comments