Skip to content

Commit

Permalink
Change price cap bounds (#74)
Browse files Browse the repository at this point in the history
* Change price cap bounds

* Bump version
  • Loading branch information
dan-r authored Apr 11, 2024
1 parent 9ccadbb commit 3e144b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/ohme/const.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Component constants"""
DOMAIN = "ohme"
USER_AGENT = "dan-r-homeassistant-ohme"
INTEGRATION_VERSION = "0.8.0"
INTEGRATION_VERSION = "0.8.1"
CONFIG_VERSION = 1
ENTITY_TYPES = ["sensor", "binary_sensor", "switch", "button", "number", "time"]

Expand Down
2 changes: 1 addition & 1 deletion custom_components/ohme/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class PriceCapNumber(NumberEntity):
_attr_device_class = NumberDeviceClass.MONETARY
_attr_mode = NumberMode.BOX
_attr_native_step = 0.1
_attr_native_min_value = 1
_attr_native_min_value = -100
_attr_native_max_value = 100

def __init__(self, coordinator, hass: HomeAssistant, client):
Expand Down

0 comments on commit 3e144b1

Please sign in to comment.