@@ -10,8 +10,9 @@ An **insanely** customizable way to interact with Home Assistant in the menubar
10
10
- [ App Configuration] ( #app-configuration )
11
11
- [ Menubar Configuration] ( #menubar-configuration )
12
12
- [ Menu Item Types] ( #menu-item-types )
13
- - [ Icons] ( #icons )
14
- - [ Templating] ( #templating )
13
+ - [ MenuAction] ( #menuaction )
14
+ - [ Icons] ( #icons )
15
+ - [ Templating] ( #templating )
15
16
16
17
# Installation
17
18
@@ -173,7 +174,7 @@ Looks like a label but opens Home Assistant in your browser when clicked.
173
174
* ** required** ` label ` {` String ` }: The label for this item
174
175
* ` icon ` {` String ` }: The icon name for this item
175
176
176
- # ` MenuAction `
177
+ ## MenuAction
177
178
178
179
A ` MenuAction ` is how you can interact with Home Assistant.
179
180
@@ -192,7 +193,7 @@ A `MenuAction` is how you can interact with Home Assistant.
192
193
}
193
194
```
194
195
195
- # Icons
196
+ ## Icons
196
197
197
198
To add an icon to your Menu Bar follow these steps
198
199
@@ -206,7 +207,7 @@ To add an icon to your Menu Bar follow these steps
206
207
* Make the size of your image ` 32x32 `
207
208
* Add ` @2x ` to the end of your file name to make it a "High Resolution Image" (Read below for more information)
208
209
209
- ## High Resolution Image
210
+ ### High Resolution Image
210
211
211
212
To make your image look better in the Menubar you can make it "High Resolution" which increases the DPI. Here are the following options:
212
213
@@ -227,35 +228,35 @@ Just add one of these to the end of your file.
227
228
#### Example
228
229
229
230
230
- ## Icon Templates
231
+ ### Icon Templates
231
232
232
233
It is recommended that your icons are made a template. To make your icon a template
233
234
234
235
* Your image ** must** be only black pixels with a transparent background
235
236
* Add ` Template ` to the end of the name of your file.
236
237
237
- ## File Name Examples
238
+ ### File Name Examples
238
239
239
240
* ` icon.png ` -> ` iconTemplate.png `
240
241
241
242
242
- ## [ More Information Here] ( https://www.electronjs.org/docs/latest/api/native-image#high-resolution-image )
243
+ ### [ More Information Here] ( https://www.electronjs.org/docs/latest/api/native-image#high-resolution-image )
243
244
244
- # Templating
245
+ ## Templating
245
246
246
247
** The customization is not over!** You can also use Home Assistant Templates in certain fields!
247
248
248
- ## Supported Fields
249
+ ### Supported Fields
249
250
250
251
* ` label `
251
252
* ` icon `
252
253
* ` title `
253
254
254
- ## Converting To Templates
255
+ ### Converting To Templates
255
256
256
257
To make a field a template just add ` Template ` to the end of the field name and put your template in the value.
257
258
258
- ## Example
259
+ #### Example
259
260
``` json
260
261
{
261
262
"labelTemplate" : " {{ states('light.my_light') }}"
0 commit comments