Home

Awesome

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.<br/>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.<br/>Options: WEP, WPA, nopass
ssidstring | EntityConfigyesemptyWi-Fi network ssid
passwordstring | EntityConfigyes<sup>1</sup>emptyWi-Fi network password
is_hiddenbooleannoemptyIs Wi-Fi network is hidden

<sup>1</sup>Required 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