HI All, is there a way of creating a virtual sensor in Hass.io? . I would like to send a value I am getting in node-red to an entity or any other way on the Home assistant dashboard.
any idea how I should resolve that ??
I don’t use node-red, but if it allows you to write a state to the state machine, the entity for which you do that does not have to exist; it will be added. So, e.g., you could write the state of an entity named sensor.whatever, even if that entity (i.e., entity_id) doesn’t exist. That state will then stay in the state machine until it is changed or deleted, or HA is restarted. And if you display that “sensor” in the frontend, once the value is written to the state machine, it should appear.