Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 3e144b1

Browse files
authored
Change price cap bounds (#74)
* Change price cap bounds * Bump version
1 parent 9ccadbb commit 3e144b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/ohme/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Component constants"""
22
DOMAIN = "ohme"
33
USER_AGENT = "dan-r-homeassistant-ohme"
4-
INTEGRATION_VERSION = "0.8.0"
4+
INTEGRATION_VERSION = "0.8.1"
55
CONFIG_VERSION = 1
66
ENTITY_TYPES = ["sensor", "binary_sensor", "switch", "button", "number", "time"]
77

custom_components/ohme/number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class PriceCapNumber(NumberEntity):
197197
_attr_device_class = NumberDeviceClass.MONETARY
198198
_attr_mode = NumberMode.BOX
199199
_attr_native_step = 0.1
200-
_attr_native_min_value = 1
200+
_attr_native_min_value = -100
201201
_attr_native_max_value = 100
202202

203203
def __init__(self, coordinator, hass: HomeAssistant, client):

0 commit comments

Comments
 (0)