fix: entity state and execute automation cards aren't movable (#2043)

* fix: entity state and execute automation cards aren't movable

* fix: disable eslint issue
This commit is contained in:
Meier Lukas authored and GitHub committed 2025-01-22 18:17:15 +01:00
1 parent 1f54bf5b9e
commit 29d4f9e003
3 files changed
+13 -4

No files matched your search

@@ -77,7 +77,12 @@ export default function SmartHomeEntityStateWidget({
onClick={handleClick}
w="100%"
h="100%"
styles={{ root: { cursor: options.clickable && !isEditMode ? "pointer" : "initial" } }}
styles={{
root: {
cursor: options.clickable && !isEditMode ? "pointer" : "initial",
pointerEvents: isEditMode ? "none" : undefined,
},
}}
>
<Center h="100%" w="100%">
<Stack align="center" gap="md">