Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get sensor für current power #190

Open
Fummy1990 opened this issue May 29, 2022 · 2 comments
Open

Get sensor für current power #190

Fummy1990 opened this issue May 29, 2022 · 2 comments
Labels
feature Feature request support Support and questions

Comments

@Fummy1990
Copy link

Fummy1990 commented May 29, 2022

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 Fummy1990 added the feature Feature request label May 29, 2022
@olalid
Copy link
Collaborator

olalid commented May 29, 2022

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 olalid added the support Support and questions label May 29, 2022
@Fummy1990
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request support Support and questions
Projects
None yet
Development

No branches or pull requests

2 participants