diff --git a/home-assistant/src/event/specific/state_changed.rs b/home-assistant/src/event/specific/state_changed.rs index f694cfc..7b55f81 100644 --- a/home-assistant/src/event/specific/state_changed.rs +++ b/home-assistant/src/event/specific/state_changed.rs @@ -25,7 +25,7 @@ impl From for PyErr { } } -// TODO: replace with a derive(PyFromStrLiteral) / #[str = "state_changed"] once I learn how to make something like that and see about serde or strum integration or inspiration +// TODO: replace with a derive(PyFromStrLiteral) / #[literal = "state_changed"] once I learn how to make something like that and see about serde or strum integration or inspiration impl<'a, 'py> FromPyObject<'a, 'py> for Type { type Error = ExtractTypeError;