Skip to content

Commit

Permalink
fix: UNIT_PERCENTAGE->PERCENTAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
vanstinator committed Sep 17, 2020
1 parent 6232d3c commit 87859c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/raincloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
CONF_USERNAME,
TIME_DAYS,
TIME_MINUTES,
UNIT_PERCENTAGE,
PERCENTAGE,
)
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.dispatcher import async_dispatcher_connect, dispatcher_send
Expand Down Expand Up @@ -60,7 +60,7 @@

UNIT_OF_MEASUREMENT_MAP = {
"auto_watering": "",
"battery": UNIT_PERCENTAGE,
"battery": PERCENTAGE,
"is_watering": "",
"manual_watering": "",
"next_cycle": "",
Expand Down

0 comments on commit 87859c4

Please sign in to comment.