custom_components/leafeemag/binary_sensor.py
def device_state_attributes(self) -> dict:
        """Return the attributes of this sensor."""
        return {
            "mac_address": self._mac_address,
            "battery_level": self._battery_level
        }
Return the attributes of this sensor.
Return the attributes of this sensor.
Return the attributes of this sensor .
def device_state_attributes(self) -> dict:
        return {
            "mac_address": self._mac_address,
            "battery_level": self._battery_level
        }
def device_state_attributes ( self ) -> dict : return { "mac_address" : self . _mac_address , "battery_level" : self . _battery_level }
Return the attributes of this sensor.
Return the attributes of this sensor .
"""Return the attributes of this sensor."""
self