Fix examples

Fixes #2 and #3
This commit is contained in:
Brian Towles
2022-05-04 19:46:10 -05:00
committed by GitHub
parent b21a9c78e8
commit d7da354c0c

View File

@@ -77,7 +77,7 @@ This sets up a simple module that only displays the module when the binary_senso
config: { config: {
host: "YOUR_HOME_ASSISTANT_HOST", host: "YOUR_HOME_ASSISTANT_HOST",
token: "YOUR_HOME_ASSISTANT_TOKEN", token: "YOUR_HOME_ASSISTANT_TOKEN",
port: 8123 port: 8123,
useTLS: true, useTLS: true,
title: "To the Curb", title: "To the Curb",
useModuleTigger: true, useModuleTigger: true,
@@ -113,7 +113,7 @@ This example pulls the info from a media player entity in Home Assistant. It on
config: { config: {
host: "YOUR_HOME_ASSISTANT_HOST", host: "YOUR_HOME_ASSISTANT_HOST",
token: "YOUR_HOME_ASSISTANT_TOKEN", token: "YOUR_HOME_ASSISTANT_TOKEN",
port: 8123 port: 8123,
useTLS: true, useTLS: true,
title: "Playing in Master Bedroom", title: "Playing in Master Bedroom",
useModuleTigger: true, useModuleTigger: true,
@@ -154,7 +154,7 @@ This example will show a complex template logic that is always displayed because
config: { config: {
host: "YOUR_HOME_ASSISTANT_HOST", host: "YOUR_HOME_ASSISTANT_HOST",
token: "YOUR_HOME_ASSISTANT_TOKEN", token: "YOUR_HOME_ASSISTANT_TOKEN",
port: 8123 port: 8123,
useTLS: true, useTLS: true,
title: "Security", title: "Security",
class: "security", class: "security",
@@ -245,7 +245,7 @@ perimeterWindows.forEach((item, i) => {
config: { config: {
host: "YOUR_HOME_ASSISTANT_HOST", host: "YOUR_HOME_ASSISTANT_HOST",
token: "YOUR_HOME_ASSISTANT_TOKEN", token: "YOUR_HOME_ASSISTANT_TOKEN",
port: 8123 port: 8123,
useTLS: true, useTLS: true,
title: "Open Windows", title: "Open Windows",
useModuleTigger: false, useModuleTigger: false,