Get battery level on Aeotec multisensor 6

Hi,

I have the Aeotec multisensor 6 integrated with Home Assitant (HASSIO setup) and working fine.

I need to display the remaining battery of the sensor in a group, but I can’t find how to get only the “battery property” from this entity:

I need only this specific value in order to create a group that list all the remaining battery of all my sensors so I can create an alert when any of them is below a specific %.

Any ideas?

Thanks a lot!

Autoresponding myself with this thread:

1 Like

For what it’s worth, I create a template sensor to extract the battery level and then automations to use that.

  sensor:
  - platform: template
    sensors:
      zwave_battery_nodon_crc3100_octan_remote:
        value_template: '{{ states.zwave.nodon_crc3100_octan_remote.attributes.battery_level|default(0) }}'
        unit_of_measurement: "%"
        icon_template: >
          {% set battery_level = states.zwave.nodon_crc3100_octan_remote.attributes.battery_level | default(0) | int %}
          {% set battery_round = (battery_level / 10) |int * 10 %}
          {% if battery_round >= 100 %}
            mdi:battery
          {% elif battery_round > 0 %}
            mdi:battery-{{ battery_round }}
          {% else %}
            mdi:battery-alert
          {% endif %}

And

  automation:
  - initial_state: 'on'
    alias: 'Battery remote'
    trigger:
      - platform: numeric_state
        entity_id: sensor.zwave_battery_nodon_crc3100_octan_remote
        below: 25
      - platform: numeric_state
        entity_id: sensor.zwave_battery_nodon_crc3100_octan_remote
        below: 10
      - platform: numeric_state
        entity_id: sensor.zwave_battery_nodon_crc3100_octan_remote
        below: 5
    action:
      service: notify.person2
      data:
        message: "The remote is at {{ states('sensor.zwave_battery_nodon_crc3100_octan_remote') }}% battery, it uses a CR2032 coin cell"
2 Likes