formatting and grist

This commit is contained in:
Darius
2026-02-06 18:59:34 +01:00
parent a8280ce27f
commit e1ef661a7a
9 changed files with 141 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ export class HomeAssistantService extends BaseService<HomeAssistantClient> {
> {
try {
const raw = await this.getClient().getEntityState(
Config.homeassistant.id_desk_sensor_binary,
Config.homeassistant.id_sensor_desk_binary,
);
const position = Number(raw.state);
@@ -108,7 +108,7 @@ export class HomeAssistantService extends BaseService<HomeAssistantClient> {
private async getTemperatures(): Promise<HomeAssistantEntity[]> {
try {
return await this.getClient().getEntityStates(
Config.homeassistant.id_room_sensors,
Config.homeassistant.id_sensors_roomtemp,
);
} catch (error) {
logWarning("error getting temperatures:", error);