Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95462

Help parsing entity

$
0
0

@rgrabot wrote:

Hello,

I just added a tasmota with SDM630 to my Home Assistant:

The mqtt integration recognized the entities:


Now my problem is that for example power is an array of 3 values:

I would like to be able to deal with them separately. I kind of understood I should use templating to be able to create an entity for each of those values

I tried based on examples:

sensor:
  - platform: template
    sensors:
      main_power_L1:
        friendly_name: "Main Power L1"
        unit_of_measurement: 'W'
        value_template: "{{ state_attr('sensor.main_power_energy_power, '0') }}" 

But this does not work.

Thank you

Posts: 18

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>