Addons are baked-in preconfigured cards that you can turn on/off on any view. You can add an addon by adding the key to your view configuration (which is done in /hki-user/config/views.yaml). ALL addons are preconfigured with a vertical-stack and a title, you MUST keep this in mind when defining addons. Each addon has some extra options for the stack, so the first section of each addons documentation shows you those extra options.
You can control the placement of the addons by using the layout addon and/or by changing the order of defining your addons. The addons that are defined first will be rendered first. How to exactly configure an addon depends on the addon and you should read the addons specific documentation before adding them to your configuration.
# views.yaml (example how to add addons)
my_view:
subtitle: Overview
icon: mdi:thermostat
addons:
thermostat:
- title: My thermostats
entities:
- # Thermostat addon config here!
my_second_view:
subtitle: Overview
icon: mdi:vacuum-cleaner
addons:
button:
- title: My lights
entities:
- # Button addon config here!
Name | Description |
---|---|
air_visual | A nice looking air quality card |
areas | A card that shows you room information Coming Soon |
battery | An addon to give your view a battery levels overview |
button | The all powerful button-card, probably the only addon you'll ever need |
calendar | The default Calendar card |
camera | An addon to add your camera's to a view |
custom | The ultimate addon that allows any card or multitude of cards! |
energy | Recreate the HA energy dashboard in lovelace |
entities | An easy to use entities card |
favorites | Show a stack with shortcuts to your favorited views |
gauge | Show simple gauges for your entities |
glance | An easy to use glance card |
A Google Home TTS card | |
iframe | A handy iFrame card that you can use on your views |
history | This is the core HA graph card which you can use as an alternative to the graphs addon in HKI |
logbook | Keep track of your entities with a logbook |
map | A map to track your entities |
media_player | A Media Player addon |
menu | Show the menu on other views than.... menu! |
meteoalarm | A nice card to show you your weather alerts |
picture_elements | The core picture elements card for HKI |
plant_status | Monitor your plants |
plex | A very beautiful Plex addon |
remote_control | A beautiful remote control for Nvidia Shield TV/Apple TV |
sensor | A core sensor card |
statistics | Create beautiful statistics graphs |
upcoming_media | Show your upcoming and recently added media from your sonarr/radarr |
thermostat | Thermostat buttons for your view |
weather | The weather addon for HKI, choose between core or simple-weather |
xbox | An Xbox controller card |
Addons can be defined multiple times, this is particularly useful when you want for example a view with a button stack at the top, a map in the middle and another button stack at the bottom.
To define an extra addon of the same type in a single view you MUST add a suffix to the addon name, it doesn't matter what the name of the suffix is, as long as you use one. addon_whatever:
# views.yaml (example of defining multiple addons of the same type)
my_view:
title: Location
addons:
button:
- title: My Quicktoggles
entities:
- switch.phone
button_2:
- title: My second quicktoggles
entities:
- switch.iphone
button_whatever:
- title: Another button addon
entities:
- switch.galaxy
Addons can also be conditional depending on a state of an entity!
# views.yaml (example of defining multiple addons of the same type)
my_view:
title: Location
type: conditional
addons:
button:
- title: This will only show when Jimmy is home
conditions:
- entity: person.jimmy
state: "home"
entities:
- switch.phone
button_2:
- title: This will only show when Jimmy AND Stephanie are home
conditions:
- entity: person.jimmy
state: "home"
- entity: person.stephanie
state: "home"
entities:
- switch.iphone
button_3:
- title: This will only show when Jimmy is NOT home AND Stephanie IS home
conditions:
- entity: person.jimmy
state_not: "home"
- entity: person.stephanie
state: "home"
entities:
- switch.iphone
What happened to the simple_weather
, devices
, rooms
, sun_card
, find_my
, layout
, columns
, mini-media-player
, search
vacuum
and graph
addons that were present in HKI 4?
Well the reasoning can be found below:
sun_card
,mini-media-player
andgraph
were addons that are either too large to template or unnecessary to add, you can still use them with thecustom:
addon, this allows for all their options to be unlocked and gives much much more customization.find_my
andlayout
have NOT been removed but had its documentation moved to the configuration page instead.columns
is redundant and rather confusing. Columns are now just set per addon instead.devices
has been merged into the newbutton:
addon.rooms
has been reworked and is now calledareas:
.simple_weather
has been merged with theweather:
addon and can be found there.search
is now integrated into the profile menu.vacuum
is just too hard to template whilst there are so many great options already available. I suggest using the custom addon with a nice vacuum card (like Xiaomi Vacuum Card or Xiaomi Vacuum Map Card)