From ce3da78b865d33fe93522d820d24c6741feb0f1d Mon Sep 17 00:00:00 2001 From: Jeremy Willans Date: Fri, 5 Jun 2020 12:51:23 +1000 Subject: [PATCH] Fix Paused state, remove Find --- dist/roomba-vacuum-card.js | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/dist/roomba-vacuum-card.js b/dist/roomba-vacuum-card.js index 4e12d78..51ac461 100644 --- a/dist/roomba-vacuum-card.js +++ b/dist/roomba-vacuum-card.js @@ -266,16 +266,6 @@ return `stop`; } } - case "find": - // Fina - NOT IMPLEMENTED YET - switch(field) { - case "label": - return `Find`; - case "icon": - return `mdi:map-marker`; - case "action": - return `find`; - } } }; @@ -332,12 +322,13 @@ evac_events: 'Evacs', job_initiator: 'Source', job_time: 'Time', - job_recharge: 'Recharge', + job_recharge: 'Resume In', job_area: 'Area' }; const vac_states = { ready: 'Ready', + paused: 'Paused', stuck: 'Stuck', pending: 'Pending', charge: 'Charge', @@ -367,8 +358,7 @@ startstop: true, blank: false, stop: true, - dock: true, - find: false, // Not implemented in rest980 + dock: true }; if (!config.entity) throw new Error('Please define an entity.');