formatting and grist
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user