Skip to content

Commit

Permalink
Switch to ha const ATTR_ATTRIBUTION
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-alfaro committed Aug 24, 2024
1 parent 7f3a264 commit 154236b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion custom_components/poolmath/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

ATTRIBUTION = "Data by PoolMath (Trouble Free Pool)"

ATTR_ATTRIBUTION = "attribution"
ATTR_DESCRIPTION = "description"
ATTR_LAST_UPDATED_TIME = "last_updated"
ATTR_TARGET_MIN = "target_min"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/poolmath/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import (
ATTR_ATTRIBUTION,
ATTR_NAME,
ATTR_UNIT_OF_MEASUREMENT,
CONF_NAME,
Expand All @@ -17,7 +18,6 @@

from .client import PoolMathClient
from .const import (
ATTR_ATTRIBUTION,
ATTR_LAST_UPDATED_TIME,
ATTR_TARGET_SOURCE,
ATTRIBUTION,
Expand Down

0 comments on commit 154236b

Please sign in to comment.