schema update

This commit is contained in:
Darius
2026-02-06 21:43:53 +01:00
parent f027818046
commit 26256276d9
2 changed files with 0 additions and 6 deletions

View File

@@ -56,11 +56,6 @@ export class HomeAssistantService extends BaseService<HomeAssistantClient> {
const result = {
raw,
as_boolean: position === 1,
as_text: () => {
if (position === 1) return "standing";
if (position === 0) return "sitting";
return "unknown";
},
last_changed: calculateSecondsBetween(
new Date(raw.last_changed).getTime(),
Date.now(),