Since lastRobotState is initialized to "docked" but the pollInterval is initialized to 3 seconds ( POLL_INTERVAL_STATE_MAP["cleaning"] instead of POLL_INTERVAL_STATE_MAP["docked"] ) when the page is loaded when the vacuum is docked we have a 3 second hammering poll that is also killing the performance of my wall tablets when no cleaning is being performed. This should be POLL_INTERVAL_STATE_MAP["docked"];
https://github.com/Hypfer/lovelace-valetudo-map-card/blob/3ac4e80200b7afb3edee010b0ca77acab0189dac/src/valetudo-map-card.js#L25C38-L25C38
Since lastRobotState is initialized to "docked" but the pollInterval is initialized to 3 seconds ( POLL_INTERVAL_STATE_MAP["cleaning"] instead of POLL_INTERVAL_STATE_MAP["docked"] ) when the page is loaded when the vacuum is docked we have a 3 second hammering poll that is also killing the performance of my wall tablets when no cleaning is being performed. This should be POLL_INTERVAL_STATE_MAP["docked"];