Skip to content

Commit

Permalink
Lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Mar 5, 2024
1 parent e16d329 commit 5a709ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/battery_notes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ async def handle_battery_low(call):

device: BatteryNotesDevice
for device in hass.data[DOMAIN][DATA].devices.values():
if device.coordinator.battery_low == True:
if device.coordinator.battery_low is True:

hass.bus.async_fire(
EVENT_BATTERY_THRESHOLD,
Expand Down
1 change: 0 additions & 1 deletion custom_components/battery_notes/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import attr
from homeassistant.core import callback, HomeAssistant
from homeassistant.loader import bind_hass
from homeassistant.helpers.storage import Store

from .const import (
Expand Down

0 comments on commit 5a709ef

Please sign in to comment.