Skip to content

Commit

Permalink
fixed pulseWidth disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
wareczek committed Sep 8, 2024
1 parent 1c8862f commit d90288d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
hacs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v4"
- uses: "hacs/action@main"
with: { category: "integration" }
hassfest:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "home-assistant/actions/hassfest@master"
2 changes: 1 addition & 1 deletion custom_components/sonoff/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def async_set_native_value(self, value: float) -> None:
class XPulseWidth(XNumber):
param = "pulseWidth"

__attr_entity_registry_enabled_default = False
_attr_entity_registry_enabled_default = False

_attr_native_max_value = 36000
_attr_native_min_value = 0.5
Expand Down

0 comments on commit d90288d

Please sign in to comment.