state not transmitted with periodic updates

  • Hi,

    I noticed that my devices (ten dw2 and three flood) do not send their periodic status update over MQTT. Or better: they send every state they have except the main one ("state").

    Subscribing to the shellies/device-id/sensor/# topic, I never see the state topic (see the logs below) unless I open/close the window or trigger the flood sensor.

    Is this a bug or the expected behaviuor?

    PS: I've also tried the latest beta firmware from http://repo.shelly.cloud/firmware/rc/SHDW-2.zip without luck (strange thing, after the upgrade my firmware version is 20200814-174839/v1.8.2-rc1@59a25feb, while I expected 1.9.0_rc4).

    I'm using Home Assistant, and if no state is received with some time, it consider the sensor unavailable, so it would make sense to me that the dw-2 would send its status every sleep_mode.period hours.

    MQTT logs over a few hours (as you can see, every sensor but "state" is transmitted)