do a little cleaning
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import axios from "axios";
|
||||
import { Config } from "../config/config.ts";
|
||||
import { logInfo, logWarning } from "./logger.ts";
|
||||
import { logWarning } from "./logger.ts";
|
||||
|
||||
type HomeAssistantEntity = {
|
||||
entity_id: string;
|
||||
|
||||
@@ -62,9 +62,3 @@ export function secondsToReadable(
|
||||
"",
|
||||
);
|
||||
}
|
||||
|
||||
function meterToCentimeters(length: string): number {
|
||||
const meters = parseFloat(length);
|
||||
const centimeters = Math.round(meters * 100);
|
||||
return centimeters;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user