Compare commits

...

2 Commits

Author SHA1 Message Date
Simon Lamon f074d0f4af Also handle null 2026-07-24 06:01:46 +00:00
Simon Lamon 9798d6e97d Handle 0 not as undefined in new choose selector 2026-07-24 05:59:33 +00:00
@@ -141,7 +141,7 @@ export class HaChooseSelector extends LitElement {
}
private _value(choice?: string): any {
if (!this.value) {
if (this.value === null || this.value === undefined) {
return undefined;
}
return typeof this.value === "object"