Lovelace QRCode Generator card

July 29, 2024 ยท View on GitHub

hacs_badge GitHub Latest Release

Lovelace QRCode Generator card

This card provides a possibility to generate QRCode in Home Assistant interface.

Installation

Configuration

Main config

KeyTypeRequiredDefaultDescription
Generic options
titlestringnoemptyTitle for the card
sourcestringyestextCard source type.
Options: text, entity, wifi
Text mode options
textstringyesQRCode example textText that will be used for QRCode generation
Entity mode options
entitystringyesemptyEntity that will be used for QRCode generation
Wi-Fi mode options
auth_typestringyesemptyWi-Fi network authentication type.
Options: WEP, WPA, nopass
ssidstring | EntityConfigyesemptyWi-Fi network ssid
passwordstring | EntityConfigyes1emptyWi-Fi network password
is_hiddenbooleannoemptyIs Wi-Fi network is hidden

1Required for WEP and WPA authentication

Entity Config

KeyTypeRequiredDescription
entitystringyesEntity to get state from
attributestringnoEnables usage of a configured attribute instead of state of given entity

Example WiFi config

type: custom:qr-code-card
source: wifi
title: My Awesom WiFi
auth_type: WPA
ssid: my_awesom_wifi
password:
  entity: input_text.my_super_secure_password