title: Batteries
path: batteries
icon: "mdi:z-wave"
panel: true
cards:
  - type: custom:mod-card
    style:
      layout-card:
        $:
          .: |
            #columns {
              padding: 0 10px;
            }
            #columns .column {
              padding: 20px 10px;
            }
    card:
      type: custom:layout-card
      layout: horizontal
      max_columns: 3
      cards:
        - type: entities
          entities:
            - type: custom:battery-entity-row
              entity: sensor.carbon_battery_level
        - type: entities
          title: Z-Wave Devices
          entities:
            - type: custom:battery-entity-row
              entity: sensor.trisensor_battery_level
              name: Trisensor
            - type: custom:battery-entity-row
              entity: sensor.multisensor_6_battery_level
              name: Multisensor
            - type: custom:battery-entity-row
              entity: sensor.living_room_radiator_battery_level
              name: Living Room Radiator
            - type: custom:battery-entity-row
              entity: sensor.bedroom_radiator_battery_level
              name: Bedroom Radiator
            - type: custom:battery-entity-row
              entity: sensor.kitchen_radiator_battery_level
              name: Kitchen Room Radiator
            - type: custom:battery-entity-row
              entity: sensor.aeon_labs_zw130_wallmote_quad_battery_level
              name: Wallmote
        - type: entities
          title: Aqara sensors
          entities:
            - type: custom:battery-entity-row
              entity: sensor.front_door_battery
            - type: custom:battery-entity-row
              entity: sensor.living_room_right_window_battery
            - type: divider
            - type: custom:battery-entity-row
              entity: sensor.bedroom_door_battery
            - type: custom:battery-entity-row
              entity: sensor.bedroom_left_window_battery
            - type: custom:battery-entity-row
              entity: sensor.bedroom_right_window_battery
            - type: custom:battery-entity-row
              entity: sensor.bedroom_weather_battery
            - type: divider
            - type: custom:battery-entity-row
              entity: sensor.kitchen_window_battery
            - type: custom:battery-entity-row
              entity: sensor.kitchen_weather_battery
            - type: custom:battery-entity-row
              entity: sensor.kitchen_motion_battery
            - type: divider
            - type: custom:battery-entity-row
              entity: sensor.bathroom_weather_battery
            - type: custom:battery-entity-row
              entity: sensor.hallway_weather_battery
            - type: custom:battery-entity-row
              entity: sensor.hallway_motion_battery
        - type: entities
          title: Aqara Devices
          entities:
            - type: custom:battery-entity-row
              entity: sensor.desk_switch_battery
            - type: custom:battery-entity-row
              entity: sensor.bedside_switch_battery
            - type: custom:battery-entity-row
              entity: sensor.bedroom_wall_switch_battery
            - type: custom:battery-entity-row
              entity: sensor.bathroom_switch_battery
            # - type: custom:battery-entity-row
            #   entity: sensor.cube_power
        - type: vertical-stack
          cards:
            - type: entities
              title: Zigbee2MQTT link quality
              entities:
                - sensor.living_room_opple_lqi
                - sensor.desk_switch_lqi
                - sensor.living_room_right_window_lqi
                - type: divider
                - sensor.bedside_switch_lqi
                # - sensor.bed_led_lqi
                - sensor.bedroom_wall_switch_lqi
                - sensor.bedroom_opple_lqi
                - sensor.bedroom_door_lqi
                - sensor.bedroom_left_window_lqi
                - sensor.bedroom_right_window_lqi
                - sensor.bedroom_weather_lqi
                - type: divider
                - sensor.kitchen_window_lqi
                - sensor.kitchen_weather_lqi
                - sensor.kitchen_motion_lqi
                - type: divider
                - sensor.bathroom_weather_lqi
                - sensor.bathroom_switch_lqi
                - sensor.front_door_lqi
                - sensor.hallway_weather_lqi
                - sensor.hallway_motion_lqi
                - type: divider
                - sensor.guest_bedroom_weather_lqi
                - sensor.router_1_lqi

            - type: entities
              entities:
                - sensor.zigbee2mqtt_devices_count
                - script.zigbee2mqtt_get_device_count
