chore(home-assistant): rename HomeAssistantState::UnexpectedErr to Unexpected because I was expecting it to contain an error type returning to the project after so long
This commit is contained in:
@@ -30,7 +30,7 @@ impl GetState for HomeAssistantLight {
|
||||
HomeAssistantState::Err(error_state) => {
|
||||
Err(GetStateError::Error { state: error_state })
|
||||
}
|
||||
HomeAssistantState::UnexpectedErr(state) => {
|
||||
HomeAssistantState::Unexpected(state) => {
|
||||
Err(GetStateError::UnexpectedError { state })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user