Get area&time in Home Assistant from Valetudo

Goal Get Home Assistant sensors from Valetudo to measure time and area last cleaning Requirements Valetudo integrated into Home assistant Api Swagger available (For congatudo, just add a valid port for webui in the addon configuration) Valetudo should have a fixed IP Steps In configuration.yaml add the code below to get sensors build from the valetudo api every 5 seconds rest:- scan_interval:5resource:"http://<valetudo_or_ha_ip>:<valetudo_port>/api/v2/robot/state/attributes"sensor:- name:"Vacuum last clean area"value_template:"{{ value_json[4]['value'] }}"state_class:"measurement"json_attributes_path:"$[4]"json_attributes:- __class- metadata- type- value- name:"Vacuum last clean duration"value_template:"{{ value_json[3]['value'] }}"device_class:"timestamp"state_class:"total"json_attributes_path:"$[3]"json_attributes:- __class- metadata- type- valueNow, you have sensors for both time and area measures but just in default units, so in order to get them in human readable units, you are able to build virtual templated sensors. [Read More]