Skip to content

Commit

Permalink
Fix Paused state, remove Find
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Willans authored and Jeremy Willans committed Jun 5, 2020
1 parent b429af7 commit ce3da78
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions dist/roomba-vacuum-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
}
}
};

Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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.');
Expand Down

0 comments on commit ce3da78

Please sign in to comment.