I’m using the custom battery-state-card by Max Chodorowski to show the battery and charging state of a Pixel 4 phone:
views:
- title: Overview
path: overview
badges: []
cards:
- type: custom:battery-state-card
title: "Devices"
entities:
- entity: sensor.battery_level_2
name: Pixel 4
charging_state:
entity_id: sensor.pixel_4_battery_state
state: charging
I’d like to use secondary_info to show the charger_type attribute from sensor.pixel_4_battery_state (for example, “wireless”) but can’t figure out how. Is there a way?