Skip to content

Commit

Permalink
fix(vendor.dreame): Newer 1T firmwares have a sensor consumable
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Feb 3, 2023
1 parent 1909f24 commit ad59e09
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions backend/lib/robots/dreame/Dreame1TValetudoRobot.js
Expand Up @@ -48,6 +48,10 @@ class Dreame1TValetudoRobot extends DreameGen2VSlamValetudoRobot {
filter: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.FILTER.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.FILTER.PROPERTIES.TIME_LEFT.PIID
},
sensor: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.PROPERTIES.TIME_LEFT.PIID
}
},
miot_actions: {
Expand All @@ -62,6 +66,10 @@ class Dreame1TValetudoRobot extends DreameGen2VSlamValetudoRobot {
reset_filter: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.FILTER.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.FILTER.ACTIONS.RESET.AIID
},
reset_sensor: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.ACTIONS.RESET.AIID
}
},
}));
Expand Down

0 comments on commit ad59e09

Please sign in to comment.