Skip to content

Commit 07f5210

Browse files
kelvanclaude
andcommitted
Fix missing DOMAIN import and suppress uv cache warning
Add missing `from .const import DOMAIN` to binary_sensor.py and sensor.py. Disable setup-uv cache since the project has no uv.lock or requirements files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1158374 commit 07f5210

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313

1414
- name: Install uv
1515
uses: astral-sh/setup-uv@v5
16+
with:
17+
enable-cache: false
1618

1719
- name: Ruff check
1820
run: uvx ruff check .

custom_components/nodeping_status/binary_sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from homeassistant.core import HomeAssistant
1111
from homeassistant.helpers.entity_platform import AddEntitiesCallback
1212

13+
from .const import DOMAIN
1314
from .coordinator import NodePingCoordinator
1415
from .entity import NodePingEntity
1516

custom_components/nodeping_status/sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from homeassistant.core import HomeAssistant
1010
from homeassistant.helpers.entity_platform import AddEntitiesCallback
1111

12+
from .const import DOMAIN
1213
from .coordinator import NodePingCoordinator
1314
from .entity import NodePingEntity
1415

0 commit comments

Comments
 (0)