diff --git a/packages/v2/public/logo.svg b/packages/v2/public/logo.svg
index f7267e9..f22981e 100644
--- a/packages/v2/public/logo.svg
+++ b/packages/v2/public/logo.svg
@@ -1 +1,24 @@
-
\ No newline at end of file
+
+
diff --git a/packages/v2/src/esp-entity-table.ts b/packages/v2/src/esp-entity-table.ts
index 6191030..9cc1a30 100644
--- a/packages/v2/src/esp-entity-table.ts
+++ b/packages/v2/src/esp-entity-table.ts
@@ -302,7 +302,7 @@ class ActionRenderer {
const val = (e.target)?.value;
this.actioner?.restAction(
entity,
- `${action}?${opt}=${val}`
+ `${action}?${opt}=${val.replace('T', ' ')}`
);
}}"
/>
@@ -460,6 +460,19 @@ class ActionRenderer {
`;
}
+ render_datetime() {
+ if (!this.entity) return;
+ return html`
+ ${this._datetime(
+ this.entity,
+ "datetime-local",
+ "set",
+ "value",
+ this.entity.value,
+ )}
+ `;
+ }
+
render_text() {
if (!this.entity) return;
return this._textinput(
diff --git a/packages/v3/public/logo.svg b/packages/v3/public/logo.svg
index 9cb8a9b..d867ce6 100644
--- a/packages/v3/public/logo.svg
+++ b/packages/v3/public/logo.svg
@@ -1 +1,24 @@
-
+
+
\ No newline at end of file
diff --git a/packages/v3/src/esp-entity-table.ts b/packages/v3/src/esp-entity-table.ts
index 56d4faf..94ec906 100644
--- a/packages/v3/src/esp-entity-table.ts
+++ b/packages/v3/src/esp-entity-table.ts
@@ -347,7 +347,7 @@ class ActionRenderer {
const val = (e.target)?.value;
this.actioner?.restAction(
entity,
- `${action}?${opt}=${val}`
+ `${action}?${opt}=${val.replace('T', ' ')}`
);
}}"
/>
@@ -526,6 +526,19 @@ class ActionRenderer {
`;
}
+ render_datetime() {
+ if (!this.entity) return;
+ return html`
+ ${this._datetime(
+ this.entity,
+ "datetime-local",
+ "set",
+ "value",
+ this.entity.value,
+ )}
+ `;
+ }
+
render_switch() {
if (!this.entity) return;
if (this.entity.assumed_state)