notoriousbdg / Home-AssistantConfig

Apache License 2.0
180 stars 49 forks source link

Battery Level unknown #3

Closed phdelodder closed 6 years ago

phdelodder commented 6 years ago

I have a device using zanzitto to publish the battery info, the device isn't often used resulting in a value 'unknown'.

HA constantly shows Tablet Battery (Unknown), is there a way to filter out the 'unknown' value from the notification message?

notoriousbdg commented 6 years ago

To prevent that device from being included in alerts, you can add it to your customize section like this:

homeassistant:
  customize:
    sensor.sensor_name_to_ignore_battery:
      battery_alert_disabled: true