feat(entity-state): add data attributes for custom-css styling (#5655)
This commit is contained in:
1 parent
663fe980bf
commit
0937555d49
1 file changed
+1
@@ -76,6 +76,7 @@ export default function SmartHomeEntityStateWidget({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<UnstyledButton
|
<UnstyledButton
|
||||||
|
mod={{ "entity-state": entityState, "entity-id": options.entityId }}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
w="100%"
|
w="100%"
|
||||||
h="100%"
|
h="100%"
|
||||||
|
|||||||
Reference in new issue
Block a user