Fix more info type test (#17758)

This commit is contained in:
Paul Bottein 2023-08-31 22:37:25 +02:00 committed by GitHub
parent 9c60a047c1
commit 6c7efc17c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ describe("stateMoreInfoType", () => {
assert.strictEqual(stateMoreInfoType(stateObj), "hidden");
});
it("Returns default for switch states", () => {
it("Returns default for tts states", () => {
const stateObj: any = {
entity_id: "switch.bla",
entity_id: "tts.bla",
attributes: {},
};
assert.strictEqual(stateMoreInfoType(stateObj), "default");