chore(home-assistant): update comment about PyFromStrLiteral idea

This commit is contained in:
2026-01-07 02:11:11 -05:00
parent 5cc30c5371
commit 8032699013

View File

@@ -25,7 +25,7 @@ impl From<ExtractTypeError> 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;