What's Changed
- Issue 47 Maximum On-Time per Device per Day #47
- Issue 60 create virtual for managed device by @jmcollin78 in #61
- Add formatted on_time value by @jmcollin78 in #62
- Add device_name attribute and remove warnings by @jmcollin78 in #63
- Add unit test and release by @jmcollin78 in #64
Full Changelog: 1.7.1...2.0.0
To use it you should add a max_on_time_per_day_min: in your solar_optimizer.yaml file. Example:
solar_optimizer:
algorithm:
...
- name: "Equipement name"
entity_id: "input_boolean.fake_device_g"
power_max: 1200
check_usable_template: "{{ True }}"
duration_min: 1.5
action_mode: "service_call"
activation_service: "input_boolean/turn_on"
deactivation_service: "input_boolean/turn_off"
battery_soc_threshold: 40
max_on_time_per_day_min: 30 <------------------ add this
...
You will also notice than there is now one device per devices in solar_optimizer.yaml in which you will find some entities: