This card provides a possibility to generate QRCode in Home Assistant interface.
- Add custom
Lovelace
repository to HACS - Go to "Frontend" section
- Click button with "+" icon
- Search for "QRCode generator card"
- Install repository in HACS
Key | Type | Required | Default | Description |
---|---|---|---|---|
Generic options | ||||
title |
string | no | empty | Title for the card |
source |
string | yes | text |
Card source type. Options: text, entity , wifi |
Text mode options | ||||
text |
string | yes | QRCode example text | Text that will be used for QRCode generation |
Entity mode options | ||||
entity |
string | yes | empty | Entity that will be used for QRCode generation |
Wi-Fi mode options | ||||
auth_type |
string | yes | empty | Wi-Fi network authentication type. Options: WEP , WPA , nopass |
ssid |
string | EntityConfig | yes | empty | Wi-Fi network ssid |
password |
string | EntityConfig | yes1 | empty | Wi-Fi network password |
is_hidden |
boolean | no | empty | Is Wi-Fi network is hidden |
1Required for WEP
and WPA
authentication
Key | Type | Required | Description |
---|---|---|---|
entity |
string | yes | Entity to get state from |
attribute |
string | no | Enables usage of a configured attribute instead of state of given entity |
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