jmcollin78/solar_optimizer

For the attribute power_entity_id, the number domain is not accepted

Closed this issue · 1 comments

Impossible to configure with this config:

    - name: "Equipement H"
      entity_id: "input_boolean.fake_device_h"
      power_entity_id: "number.tesla_amps"
      power_min: 660
      power_max: 3960
      power_step: 660
      # check_active_template: "{{ not is_state('input_select.fake_tesla_1', '0 A') }}"
      check_usable_template: "{{ is_state('input_boolean.device_h_enable', 'on') }}"
      duration_min: 1
      duration_stop_min: 0.1
      duration_power_min: 0.1
      action_mode: "service_call"
      activation_service: "input_boolean/turn_on"
      deactivation_service: "input_boolean/turn_off"
      change_power_service: "input_number/set_value"
      convert_power_divide_factor: 660

This lead to error: Entity number.wallbox_portal_max_charging_current belongs to domain number, expected ['input_number', 'sensor']