chore: format

This commit is contained in:
2026-07-08 14:11:22 -04:00
parent e42397e072
commit a96dce2771
7 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -33,7 +33,7 @@ impl HomeAssistantLight {
pub enum GetStateObjectError { pub enum GetStateObjectError {
/// couldn't get the state machine registry /// couldn't get the state machine registry
GetStatesError { source: GetStatesError }, GetStatesError { source: GetStatesError },
/// this state object exists in the state machine registry, but it couldn't be extracted as a light state object /// this state object exists in the state machine registry, but it couldn't be extracted as a light state object
GetStateError { source: GetStateError< GetStateError { source: GetStateError<
<StateObject<HomeAssistantState<LightState>, LightAttributes, Py<PyAny>> as FromPyObject<'static, 'static>>::Error <StateObject<HomeAssistantState<LightState>, LightAttributes, Py<PyAny>> as FromPyObject<'static, 'static>>::Error

View File

@@ -3,7 +3,10 @@ use std::str::FromStr;
use pyo3::IntoPyObject; use pyo3::IntoPyObject;
use crate::{ use crate::{
domain::Domain, entity_id::EntityId, object_id::ObjectId, service::{IntoServiceCall, service_domain::ServiceDomain, service_id::ServiceId} domain::Domain,
entity_id::EntityId,
object_id::ObjectId,
service::{service_domain::ServiceDomain, service_id::ServiceId, IntoServiceCall},
}; };
#[derive(Debug, Clone)] #[derive(Debug, Clone)]

View File

@@ -3,7 +3,10 @@ use std::str::FromStr;
use pyo3::IntoPyObject; use pyo3::IntoPyObject;
use crate::{ use crate::{
domain::Domain, entity_id::EntityId, object_id::ObjectId, service::{IntoServiceCall, service_domain::ServiceDomain, service_id::ServiceId} domain::Domain,
entity_id::EntityId,
object_id::ObjectId,
service::{service_domain::ServiceDomain, service_id::ServiceId, IntoServiceCall},
}; };
#[derive(Debug, Clone)] #[derive(Debug, Clone)]