Entities

April 1, 2024 ยท View on GitHub

  • Integration exposes almost all available settings and states reverse engineered from the official App.

  • Almost all entities are dynamically exposed for specific device. If the device does not have property that tied to specific entity, integration will not add that entity to the Home Assistant.

  • Some entities may not be available on devices with older firmware versions like customized_cleaning and cleaning_mode that are also not available on valetudo.

  • Most of the entities including the vacuum entity has dynamic icons for their state and can be overridden from entity settings.

  • Most of the sensor and all select entities returns their current raw integer value on raw_value, map_id or segment_id attributes for ease of use on automations and services.

  • All entities has dynamic refresh rate determined by its change range and device state. Integration only inform Home Assistant when a device property has changed through listeners. This is more like a local_push type of approach instead of local_pull but please note that it may take time entity to reflect the changes when you edit related setting from the official App.

  • Some entities has custom availability rules for another specific entity or state. E.g. tight_mopping entity will become unavailable when water tank or mop pad is not attached. (All off the rules extracted from the official App)

  • Exposed cloud connected entities for all available settings that are stored not on the device but on specific map data itself. E.g. map_rotation

  • Generated entities have the following naming schema:

    [domain].[vacuum name]_[entity name]

Some entities are disabled by default and some entities can be accessed over vacuum entity attributes.

Switch

NameDescriptionNotes
resume_cleaningEnable/Disable resume cleaning featureVacuum entity return its state as paused before cleaning continues while charging
carpet_boostEnable/Disable carpet boost feature
carpet_recognitionEnable/Disable recognition featureAvailable on vacuums with ultrasonic sensor
obstacle_avoidanceEnable/Disable 3D obstacle avoidanceAvailable on vacuums with line laser
customized_cleaningEnable/Disable customized room cleaningAvailable on devices with firmware above 1056
child_lockEnable/Disable child lock
tight_moppingEnable/Disable tight mopping patternAvailable on devices with firmware above 1056 and unavailable and water tank or mop pad is not installed.
dndEnable/Disable do not disturb
multi_floor_mapEnable/Disable multi-floor mapAvailable on vacuums can store more than one map
auto_dust_collectingEnable/Disable automatic dust collecting when cleaning completedAvailable on vacuums with auto-empty station
self_cleanEnable/Disable automatic self cleaning featureAvailable on vacuums with self-wash base
auto_dryingEnable/Disable automatic drying of the mop after the cleaning is completedAvailable on vacuums with self-wash base
water_electrolysisEnable/Disable water electrolysis featureAvailable on vacuums with water electrolysis feature
auto_water_refillingEnable/Disable external water input for self-wash baseAvailable on vacuums with self-wash base and external water input
auto_mount_mopEnable/Disable automatic assembly and disassembly of mop pads according selected cleaning modeAvailable on vacuums with automatic mop assembly feature
carpet_avoidanceAvoid carpets if mop pads are attachedAvailable on vacuums with mop pad lifting feature
auto_add_detergentUse detergent cartridge for cleaning the mop padsAvailable on vacuums with self-wash base and detergent cartridge
map_savingMap saving mode setting for VSLAM devicesAvailable on vacuums without lidar navigation
ai_obstacle_detectionEnable/Disable AI obstacle detectionAvailable on S10 and L10s models
ai_obstacle_image_uploadEnable/Disable uploading obstacle picture to cloudAvailable on devices with front camera
ai_obstacle_pictureEnable/Disable obstacle picture displayingAvailable on devices with front camera
ai_pet_detectionEnable/Disable AI pet detectionAvailable on devices with front camera
ai_human_detectionEnable/Disable AI human detectionAvailable on S10 and S10 Pro
ai_furniture_detectionEnable/Disable AI furniture detectionAvailable on devices with front camera
ai_fluid_detectionEnable/Disable AI fluid detectionAvailable on devices with front camera
fill_lightAfter turned on, it will automatically fill light in a poorly lit environment to improve the obstacle avoidance ability and the screen clarity in the video.Available on devices with front camera and front light
collision_avoidanceAfter it is turned on, the robot will reduce collisions with walls, furniture and obstacles, and the cleaning efficiency and coverage will be slightly reduced.Available on devices with this feature
stain_avoidanceAfter it is turned on and when a stain is identified, the robot will avoid and do not clean the area.Available on devices with AI fluid detection feature
intelligent_recognitionEnable/Disable automatic map switching when multi-floor map is enabledAvailable on devices with wifi map feature
cleaning_sequenceEnable/Disable custom room cleaning sequenceAvailable with map feature (This a dynamically created entity and not actually tied to any setting directly, when turned of it actually deletes current cleaning order and regenerates with default order or restores previous order from memory when turned on again)

Sensor

NameDescriptionNotes
cleaning_timeCleaning duration of last/current cleaning jobUnavailable during fast mapping
mapping_timeMapping duration of current fast mapping jobOnly available when robot is fast mapping
cleaned_areaCleaned area of last/current cleaning jobUnavailable during fast mapping
stateState of the robotThis entity exposes robot states that are not present in the home assistant like charging_completed
statusStatus of the robot
relocation_statusRelocation status of the robot
task_statusTask status of the robot
water_tankWater tank status of the robotAvailable on vacuums with water tank
mop_padWater mop pad status of the robotAvailable on vacuums with self-wash base
dust_collectionDust collection is available, not available or not preformed due to do not disturb settingsAvailable on vacuums with auto-empty station
auto_empty_statusStatus of auto empty dockAvailable on vacuums with auto-empty station
self_wash_base_statusStatus of self-wash baseAvailable on vacuums with self-wash base
errorFault code description of robotError reporting
charging_statusCharging status of the robot
battery_levelBattery level of the robot
first_cleaning_dateFirst cleaning date
total_cleaning_timeTotal cleaning duration
cleaning_countTotal cleaning times
total_cleaned_areaTotal cleaned area
main_brush_leftMain brush life left in percent
main_brush_time_leftMain brush life left in hours
side_brush_leftSide brush life left in percent
side_brush_time_leftSide brush life left in hours
filter_leftFilter life left in percent
filter_time_leftFilter life left in hours
sensor_dirty_leftTime left to clean the sensors in percentAvailable on vacuums with line laser
sensor_dirty_time_leftTime left to clean the sensors in hoursAvailable on vacuums with line laser
mop_pad_leftMop life left in percentAvailable on vacuums with self-wash base
mop_pad_time_leftMop life left in hoursAvailable on vacuums with self-wash base
silver_ion_leftSilver-ion life left in percentAvailable on vacuums with silver-ion feature
silver_ion_time_leftSilver-ion life left in hoursAvailable on vacuums with silver-ion feature
detergent_leftDetergent left in percentAvailable on vacuums has detergent cartridge
detergent_time_leftDetergent left in hoursAvailable on vacuums has detergent cartridge
cleaning_historyPrevious cleaning job details as attributesAvailable with map feature
current_roomCurrent room that vacuum currently inAvailable with map feature

Number

NameDescriptionNotes
volumeVolume level
mop_cleaning_remainderMop cleaning remainder
dnd_start_hourDo not disturb start hour (XX:00 -> 00:00)Unavailable when do not disturb is disabled
dnd_start_minuteDo not disturb start minute (00:XX -> 00:00)Unavailable when do not disturb is disabled
dnd_end_hourDo not disturb end hour (00:00 -> XX:00)Unavailable when do not disturb is disabled
dnd_end_minuteDo not disturb end minute (00:00 -> 00:XX)Unavailable when do not disturb is disabled

Button

NameDescriptionNotes
reset_main_brushReset main brush remaining life left
reset_side_brushReset side brush remaining life left
reset_filterReset filter remaining life left
reset_sensorReset sensor cleaning remaining leftAvailable on vacuums with line laser
reset_mop_padReset mop pad remaining life leftAvailable on vacuums with self-wash base
reset_silver_ionReset silver-ion remaining life leftAvailable on W10 Pro
start_auto_emptyStart auto-emptyingAvailable on vacuums with auto-empty station
clear_warningClear warningUnavailable when there is no warning to clear
start_fast_mappingStart fast mappingUnavailable when maximum map count reached
start_mappingCreate new map with cleaning the whole floorUnavailable when maximum map count reached
start_washingManually start mop washingAvailable on vacuums with self-wash base, unavailable when washing is not possible or already washing mop
pause_washingPause mop washingAvailable on vacuums with self-wash base, unavailable when robot is not currently washing mop
start_dryingManually start mop dryingAvailable on vacuums with self-wash base, unavailable when drying is not possible or already drying mop
stop_dryingStop mop dryingAvailable on vacuums with self-wash base, unavailable when robot is not currently drying mop

Select

NameDescriptionNotes
suction_levelSuction level of the vacuumUnavailable if customized cleaning enabled and current job is not zone cleaning or spot cleaning
water_volumeWater volume of the vacuumAvailable on vacuums with water tank and unavailable if customized cleaning enabled and current job is not zone cleaning or spot cleaning.
mop_pad_humidityHumidity level of the mop padAvailable on vacuums with self-wash base and unavailable if customized cleaning enabled and current job is not zone cleaning or spot cleaning.
cleaning_modeCleaning mode of the vacuum. (Sweeping, Mopping, Sweeping and mopping)Unavailable during cleaning.
(Options are dynamically generated for vacuums without liftable mop pad.)
carpet_sensitivityCarpet sensitivity of carpet boost featureUnavailable when carpet boost is disabled
auto_empty_frequencyAuto empty frequencyUnavailable when automatic dust collection is disabled or not available
self_clean_areaSelect cleaning area before return to clean the mop padAvailable on vacuums with self-wash base
mop_wash_levelMop cleaning water usage levelAvailable on vacuums with self-wash base and external water input
drying_timeMop drying time in minutesAvailable on vacuums with self-wash base
mopping_typeMopping type for deep or daily cleaningAvailable on vacuums with AI fluid and stain detection feature
map_rotationSets the rotation of selected mapAvailable with map feature and unavailable when current map is not one of the selected maps (Different map rotations can be for saved maps but only selected map is editable via this entity)
selected_mapCurrently selected mapAvailable with map feature and unavailable when multi-floor map is disabled or not available (Robot will end active job when selected map is changed)

Select Entities for rooms

  • Room select entities are only available with cloud connection.
  • Entities are dynamically generated from saved maps but only selected map is editable via shared room entities.
  • Entity names and icons are dynamically generated from segment id, custom name or segment type and can be overridden from entity settings (Not recommended when multi-floor map is enabled).
  • Entities uses segment id system but generated from all saved maps. When multi-floor map is enabled, specific room entity may not be available on currently selected map.
  • Customized cleaning and custom cleaning sequence settings are not available on devices with older firmware versions.
  • Generated entities have the following naming schema:
    select.[vacuum name]_room_[segment id]_[room entity name]
NameDescriptionNotes
nameRoom name from predefined types or current custom nameUnavailable when room does not exists on current map
suction_levelSuction level for the roomUnavailable if customized cleaning is disabled
water_volumeWater volume for the roomAvailable on vacuums with water tank and unavailable if customized cleaning is disabled
mop_pad_humidityHumidity level of the mop pad for the roomAvailable on vacuums with self-wash base and unavailable if customized cleaning is disabled
cleaning timesCleaning times of the roomUnavailable when cleaning job is active or customized cleaning is disabled
orderCleaning order of the roomUnavailable when cleaning job is active or cleaning sequence is disabled

For more info about customized cleaning feature

Camera

NameDescriptionNotes
mapLive mapLive map image
map_dataLive map data for valetudo-cardDisabled by default
map_1First saved mapSaved map at index 1
map_2Second saved mapSaved map at index 2, available if multi-floor map is enabled and there are at least two saved maps on map list
map_3Third saved mapSaved map at index 3, available if multi-floor map is enabled and there are at least three saved maps on map list
  • Camera entities are only available with cloud connection.
  • All camera entities has different dynamic refresh rate determined by its last request time and device state.
  • Camera will only render a map when an image request has been made and only render changed areas of the image.
  • Saved map camera names generated dynamically from index or custom name.
  • Saved map entities for multi-floor map entities uses indexing system instead of map id. More info
  • Live map is not editable and renders saved map after an edit has been made until robot starts cleaning.
  • map_1 entity always renders saved map of currently selected map when multi-floor map is disabled

For more info about map feature