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;
}
if (type === 'room') {
const room = entity as Room;
attributes = room.attributes;
}
return <Fragment>
<DialogTitle>{name}</DialogTitle>
<DialogContent dividers>

View File

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

View File

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