Skip to content

Commit

Permalink
Merge pull request #101 from sevorl/patch-1
Browse files Browse the repository at this point in the history
Change play_time_limit from slider to box
  • Loading branch information
pantherale0 committed Mar 25, 2024
2 parents 5dcf0e1 + 2934292 commit 8aace8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nintendo_parental/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ScreenTimeEntity(NintendoDevice, NumberEntity):
"""A screen time entity."""

_attr_should_poll = True
_attr_mode = NumberMode.SLIDER
_attr_mode = NumberMode.BOX
_attr_native_max_value = 360
_attr_native_step = 1
_attr_native_unit_of_measurement = "min"
Expand Down

0 comments on commit 8aace8c

Please sign in to comment.