Skip to content

Commit

Permalink
One more test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwroc committed Feb 9, 2024
1 parent d5b33b5 commit 3ccc244
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/other/entity-fields/battery-level.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ describe("Battery level", () => {
["66%", { state: "66", level: 66, unit: "%" }],
["-77lqi", { state: "-77", level: -77, unit: "lqi" }],
["-88.8lqi", { state: "-88.8", level: -88.8, unit: "lqi" }],
["99", { state: "99", level: 99, unit: "%" }],
])
("default HA formatting - various formatted states", (formattedResult: string, expected: { state: string, level: number, unit?: string }) => {

Expand Down

0 comments on commit 3ccc244

Please sign in to comment.