raomin / ESPAltherma

Monitor your Daikin Altherma / ROTEX heat pump with ESP32
MIT License
338 stars 113 forks source link

No entities in Home-Assistant #424

Open FuxPCN opened 6 months ago

FuxPCN commented 6 months ago

See all attributes in HA.

But can't get work the entities.

From the example:

`template:

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

HypeLaser commented 1 month ago

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.