batpred icon indicating copy to clipboard operation
batpred copied to clipboard

values in predbat entities do not match values in configured entities

Open jacekowski opened this issue 1 year ago • 2 comments

I have the following configuration:

  inverter_type: MINE
...
  scheduled_charge_enable:
    - switch.schedule_charge
  scheduled_discharge_enable:
    - switch.schedule_discharge

values in switch.schedule_charge does not match the value in sensor.predbat_mine_0_scheduled_charge_enable (in fact, it seems to be stuck on ON all the time).

Similiar with discharge entities.

jacekowski avatar Apr 24 '24 06:04 jacekowski

These will only work if you define the inverter to have these options:

has_charge_enable_time has_discharge_enable_time

In the inverter settings must be on

springfall2008 avatar Apr 24 '24 08:04 springfall2008

I've got this (i've tried it with both set to true and false and i didn't really notice any difference)

        has_charge_enable_time: True
        has_discharge_enable_time: True
        has_target_soc: True
        has_reserve_soc: True
        charge_time_format: "%Y-%m-%d %H:%M:%S"
        charge_time_entity_is_option: False

It does look like just using predbat_mine_0_* entities works for my purposes anyway.

jacekowski avatar Apr 24 '24 08:04 jacekowski

Closing this old issue, feel free to open a new one if still an issue

springfall2008 avatar Nov 16 '24 15:11 springfall2008