mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Fix Peblar current limit user setting value (#133753)
This commit is contained in:
parent
81ce5f4505
commit
85519a312c
@ -48,7 +48,7 @@ DESCRIPTIONS = [
|
||||
native_max_value_fn=lambda x: x.system_information.hardware_max_current,
|
||||
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
|
||||
set_value_fn=lambda x, v: x.ev_interface(charge_current_limit=int(v) * 1000),
|
||||
value_fn=lambda x: round(x.ev.charge_current_limit_actual / 1000),
|
||||
value_fn=lambda x: round(x.ev.charge_current_limit / 1000),
|
||||
),
|
||||
]
|
||||
|
||||
|
@ -53,6 +53,6 @@
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '6',
|
||||
'state': '16',
|
||||
})
|
||||
# ---
|
||||
|
Loading…
x
Reference in New Issue
Block a user