1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-19 18:28:42 +00:00

Add support for PM4 sensor state (#27754)

This commit is contained in:
Aarni Koskela
2025-11-02 18:54:40 +02:00
committed by GitHub
parent 7a21d5f7bc
commit 3ad2f35f29
4 changed files with 10 additions and 1 deletions

View File

@@ -201,6 +201,7 @@ describe("getStates", () => {
"pm1",
"pm10",
"pm25",
"pm4",
"power_factor",
"power",
"pressure",
@@ -215,7 +216,7 @@ describe("getStates", () => {
"volume_flow_rate",
])
);
expect(result.length).toBe(34);
expect(result.length).toBe(35);
});
it("should return empty array for unknown attribute", () => {