chore: format
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)]
|
||||||
|
|||||||
@@ -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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user