Skip to content

Commit

Permalink
fix(vacuum): error state deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Jan 11, 2025
1 parent e94b7d7 commit 0eaf3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/localtuya/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def status_updated(self):
if self.has_config(CONF_FAULT_DP):
self._attrs[FAULT] = self.dp_value(CONF_FAULT_DP)
if self._attrs[FAULT] != 0:
self._state = STATE_ERROR
self._state = VacuumActivity.ERROR


async_setup_entry = partial(async_setup_entry, DOMAIN, LocalTuyaVacuum, flow_schema)

0 comments on commit 0eaf3a5

Please sign in to comment.