Skip to content

Helpers added to Refoss EM06P cannot initialize at boot #6

@andrebrait

Description

@andrebrait

I'm not sure why this happens, but this is the only integration (custom or otherwise) for which a helper, when added to a device, simply won't start.

It says something along the lines of "entity without state" and, until I edit the helper and save it again, it will remain stateless and unusable.

This happens every time I restart HA. Unsure whether it happens when I reload this integration itself, but I don't remember noticing that.

Steps to reproduce:

  1. Create a helper (e.g. a template that inverts the power reading of a specific meter)

Image

  1. Add it to a Refoss device

Image

  1. Restart HA
  2. Go to helpers and observe the red warning sign. Also check that everything that uses that helper can't use its values.

Image

  1. Edit the helper in any way. You need to modify it, even with stuff that doesn't make any difference (e.g. * 1) and it comes back to life.

Image
Image

If I remove it from the device and leave everything else equal, I never run into this issue. I also don't run into this issue for any other device I have helpers added to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions