easee_hass icon indicating copy to clipboard operation
easee_hass copied to clipboard

Get sensor für current power

Open Fummy1990 opened this issue 2 years ago • 2 comments

Feature request

I use this:

alias: Ladesteuerung_Auto_L1_Erhöhunv
description: ''
trigger:
  - platform: state
    entity_id: sensor.netzuerberschuss_ampere
condition:
  - condition: numeric_state
    entity_id: sensor.netzuerberschuss_ampere
    above: '0'
    below: '22'
action:
  - service: easee.set_charger_circuit_dynamic_limit
    data:
      charger_id: EH775940
      currentP1: '{{ states.sensor.easee_vorgarten_dynamic_circuit_limit.state|int + 1 }}'
      currentP2: 0
      currentP3: 0
mode: single
max: 3 

to charge only as much as I have overload from the pv. But I cant set only this:

action:
  - service: easee.set_charger_circuit_dynamic_limit
    data:
      charger_id: EH775940
      currentP1: '{{ states.sensor.easee_vorgarten_dynamic_circuit_limit.state|int + 1 }}'
mode: single
max: 3

to just change one phase.Then what I set it will also set to current P2 and 3. Is it possible to read out the currentP2 and P3 from the wallbox?

What version of the integration are you using?

v0.9.43

Anything in the logs that might be useful for us?

No response

Additional information

No response

Fummy1990 avatar May 29 '22 13:05 Fummy1990

Yes, the settings for each phase can be seen as attributes to the dynamic_circuit_limit sensor. So you would in your case be able to access it as: {{ state_attr('sensor.easee_vorgarten_dynamic_circuit_limit', 'state_dynamicCircuitCurrentP1'') }} And so on.

olalid avatar May 29 '22 19:05 olalid

Yes, the settings for each phase can be seen as attributes to the dynamic_circuit_limit sensor. So you would in your case be able to access it as: {{ state_attr('sensor.easee_vorgarten_dynamic_circuit_limit', 'state_dynamicCircuitCurrentP1'') }} And so on.

Thanks it worked. I only had to create an sensor with your code first.

Fummy1990 avatar May 31 '22 11:05 Fummy1990