Skip to content

Commit

Permalink
Fixing units of UnitOfTemperature
Browse files Browse the repository at this point in the history
  • Loading branch information
tache committed Mar 14, 2024
1 parent ceb7429 commit e327f52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions custom_components/kidde/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.components.number import NumberDeviceClass
from homeassistant.const import (
UnitOfTemperature.CELSIUS,
UnitOfTemperature.FAHRENHEIT,
UnitOfTemperature,
PERCENTAGE,
UnitOfPressure.HPA,
UnitOfPressure,
CONCENTRATION_PARTS_PER_BILLION,
CONCENTRATION_PARTS_PER_MILLION,
UnitOfTime.WEEKS
UnitOfTime
)

from .const import DOMAIN
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Kidde HomeSafe",
"filename": "kidde.zip",
"hide_default_branch": true,
"homeassistant": "2024.1.1",
"homeassistant": "2024.3.1",
"render_readme": true,
"zip_release": true
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
colorlog==6.8.2
homeassistant
pip
ruff==0.1.15
ruff==0.3.2

0 comments on commit e327f52

Please sign in to comment.