1
0
Fork 0

show room attributes in web client, initialize weather correctly, fix comfy template path
Run Docker Build / build (push) Failing after 9s Details
Run Python Build / build (push) Failing after 17s Details

This commit is contained in:
Sean Sube 2024-05-27 09:22:19 -05:00
parent 4116951919
commit fea124b3f3
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
3 changed files with 13 additions and 1 deletions

View File

@ -54,6 +54,11 @@ export function EntityDetails(props: EntityDetailsProps) {
attributes = item.attributes; attributes = item.attributes;
} }
if (type === 'room') {
const room = entity as Room;
attributes = room.attributes;
}
return <Fragment> return <Fragment>
<DialogTitle>{name}</DialogTitle> <DialogTitle>{name}</DialogTitle>
<DialogContent dividers> <DialogContent dividers>

View File

@ -162,7 +162,7 @@ def generate_images(
) )
env = Environment( env = Environment(
loader=FileSystemLoader(["adventure/templates"]), loader=FileSystemLoader(["taleweave/templates"]),
autoescape=select_autoescape(["json"]), autoescape=select_autoescape(["json"]),
) )
template = env.get_template("comfy.json.j2") template = env.get_template("comfy.json.j2")

View File

@ -36,6 +36,13 @@ rules:
set: set:
weather: clear weather: clear
# weather initial state
- group: weather
rule: |
"weather" not in attributes
set:
weather: clear
labels: labels:
- match: - match:
type: room type: room