Skip to content

Commit

Permalink
Merge pull request #402 from reedy/patch-1
Browse files Browse the repository at this point in the history
Fix linting errors
  • Loading branch information
CJNE authored Sep 12, 2023
2 parents e2e5b83 + c6b47e4 commit 33de175
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pip==23.1.2
pre-commit==3.3.3
black==23.7.0
flake8==6.0.0
reorder-python-imports==3.10.0
reorder-python-imports==3.10.0
13 changes: 7 additions & 6 deletions custom_components/myenergi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,13 @@ async def async_setup_entry(hass, entry, async_add_devices):
coordinator,
device,
entry,
create_meta("Active Heater",
"active_heater",
None,
None,
None,
"mdi:fraction-one-half",
create_meta(
"Active Heater",
"active_heater",
None,
None,
None,
"mdi:fraction-one-half",
),
)
)
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ flake8==6.0.0
reorder-python-imports==3.10.0
homeassistant
pymyenergi
pytest
pytest

0 comments on commit 33de175

Please sign in to comment.