Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No entities in Home-Assistant #424

Open
FuxPCN opened this issue Mar 29, 2024 · 1 comment
Open

No entities in Home-Assistant #424

FuxPCN opened this issue Mar 29, 2024 · 1 comment

Comments

@FuxPCN
Copy link

FuxPCN commented Mar 29, 2024

See all attributes in HA.

But can't get work the entities.

From the example:

`template:

  • unique_id: "espaltherma" # will be prefixed to all unique IDs
    sensor:
    • name: "Operation mode"
      unique_id: "operation"
      state: ""`

Where do I get the correct values for "name" and "unique_id" from? (I'm using the german translation.)

@HypeLaser
Copy link

HypeLaser commented Aug 9, 2024

In Developer Tools, use the States tab to look at what data is coming in to Home Assistant. In my case, the sensor is called "sensor.none_althermasensors". (I don't know why it added the "none"!).

Screenshot 2024-08-09 at 15 36 12

I then created a separate sensor in the configuration.yaml for each sensor I'd like to monitor. For example the code below creates a sensor called "sensor.espaltherma_operation_mode" and gives me the values of HEATING or FAN ONLY:

Screenshot 2024-08-09 at 15 39 32

Note that the ATTRIBUTE in the below code, XXXXXX, is the ORANGE TEXT taken from the Developer Tools > State page.

"{{ (state_attr('sensor.none_althermasensors', 'XXXXXXXXX')) }"

Also, be aware that some of the Attributes have a FULL STOP at the end, and others don't! If your sensor doesn't appear, make sure you have added in the exact sensor attribute as shown in orange text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants