Shelly integration - Flood temp and batterie sensors not available anymore?

My Shelly integration works as advertised, however since this morning I do not seem to have access anymore to the temperature sensor and the battery sensor of my Shelly Floods.

Anybody seeing the same?

P.S.: In the Shelly app, the temp and batt values are available.

In the meantime 2 of the Floods are fully back in business - I am guessing they woke up at some point and transmitted the latest data. Maybe the database got somehow corrupted and HA had no access to stored data until the values are updated?

Iā€™m having a heck of a time getting the flood sensor to show me anything in Home Assistant. The Unit shows up but it says ā€œThis device has no entitiesā€ in the integration. Iā€™d rather not go to MQTT for this, any tips/tricks? Other Shelly sensors are working fine.

When you say the unit shows up, than you should be able to click on it and get something like this?

If it does not show any sensors available you can try to :slight_smile:

  • manually wake up the flood by pressing the internal micro switch
  • make it wet and see what happens
  • reboot your router
  • reboot HA

If you still not getting any sensors - I guess you could reload the whole integration?

With my Shelly Flood Sensor the Battery and Temperature sensors are showing the following error under Developer Tools>STATISTICS:

The state class ā€˜ā€™ of this entity is not supported.

Clicking ā€œFIX ISSUEā€ gives the following information:

Unsupported state class

The state class of this entity, is not supported.
Statistics cannot be generated until this entity has a supported state class.

If this state class was provided by an integration, this is a bug. Please report an issue.

1 Like

You can manually fix this by using customize in your configuration.yaml

homeassistant:
customize:
sensor.your_shellyfloodsensor_name_battery:
state_class: ā€œmeasurementā€

Thanks for the reply. The sensors started working properly at some point after an update. I donā€™t know exactly which update it was.

I also had a problem with my Shelly battery powered devices only working for a few minutes then only saying that data was unavailable.

Reloading that device would allow the data to flow again for a couple of minutes before stopping again.

In the end I was able to fix my problem by reading the Shelly Integration documentation for Home Assistant and seeing that my Firewall (Synology NAS where I have Home Assistant running on Docker) needed to allow UDP on port 5683 and it has all worked perfectly since.

I have had a few problems with getting integrations to work, however upon reading the integration documentation I have been able to get all devices working correctly.