-
-
Notifications
You must be signed in to change notification settings - Fork 45
Migrating and merging this component with the Ecovacs core integration #512
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I have migrated to the core integration, but it seems it no longer has the command to refresh, will this be added at a later date? |
Nope as also in this integration that command is deprecated. Please use the builtin |
I have migrated to the core integration and nowI am missing the last_cleaning sensor. Especially I used it's timestamp attribute in my automations to check if cleaning was already done today. |
Also missing way to get last_cleaning, meanwhile I make this by saving time at input_text but sure this was a good sensor in previous version. |
I've never had a last cleaning sensor for the X1 Omni and I've done the same thing. As part of the cleaning automation I write the current date/time to a input_datetime.
|
I feel like I'm missing something really obvious here (sorry) but without the cleaning_job event what's the best way to monitor for successful completion of a job? |
You can use the state of the vacuum itself. You can use it like in the comment above or you can extract the value with https://www.home-assistant.io/integrations/history_stats/ The last cleaning sensor was not migrated as all information are already available from other sensors |
Good point I completely forgot about this event. Sorry. Will check with the core team, if there is a better solution as firing the event |
Hi @edenhaus Quick Q |
Ok, I found solution that serves me well. I created event-triggered template sensor that holds the needed information for me: template:
- trigger:
- platform: state
entity_id:
- vacuum.r2d2
to:
- cleaning
sensor:
- name: R2D2 Last cleaning time
state: "{{ now() }}"
device_class: timestamp
icon: 'mdi:clock' |
I will implement event entities for it. Should be available hopefully with the next version :) |
Why sorry? Having the integration directly in the core makes it easier to maintain it.
Why do you need a custom component for it? Why aren't you using the send_command for it? |
I'm currently migrating this integration to the core to make it easier to use it and add the ability to translate it into all supported languages.
This issue is here to track the status.
This whole component will be included in HA 2024.2 except for the following things:
cleaning_job
andcustom_command
.Migrations steps
1: Remove all
Deebot 4 Home Assistant
config entries2: Uninstall
Deebot 4 Home Assistant
via HACS3: Restart Home Assistant
4: Setup the builtin
Ecovacs
integrationIf you have issues setting up the core integration, make sure no
deebot
folder exists under[config dir]/custom_components
(Delete it if it exists) and restart Home AssistantThe text was updated successfully, but these errors were encountered: