mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 10:26:35 +00:00
Fix Entities picker (#11802)
This commit is contained in:
parent
b341ee9d38
commit
5d8b3227f3
@ -114,7 +114,7 @@ class HaEntitiesPickerLight extends LitElement {
|
||||
const newValue = event.detail.value;
|
||||
if (
|
||||
newValue === curValue ||
|
||||
(newValue !== "" && !isValidEntityId(newValue))
|
||||
(newValue !== undefined && !isValidEntityId(newValue))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
@ -147,7 +147,7 @@ class HaEntitiesPickerLight extends LitElement {
|
||||
}
|
||||
|
||||
static override styles = css`
|
||||
ha-entity-picker {
|
||||
div {
|
||||
margin-top: 8px;
|
||||
}
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user