Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106836

Using a variable to set device value

$
0
0

Hello There, I´m configuring wallbox EV charger to dynamically set the max charge to use based on available Amp at home. in order to do that, first I need to know how much available amp do I have, but this is something already got in a sensor called sendor.carga_wallbox.

what I´m missing now is in an automation to set this sensor value to wallbox max charge, I created this automation:
</
alias: Wallbox a 17
description: “”
trigger:

  • platform: numeric_state
    entity_id:
    • sensor.acometida_amp
      above: 20
      condition:
      action:
  • device_id: 91bc1fbd644674d94abcfc589634d9be
    domain: number
    entity_id: b6564c42c5fba3711507b469621ed3d8
    type: set_value
    value: {{ sensor.carga_wallbox }}
    mode: single
    />

When sensor Acometida is below 20 I want to set the value for this entity which is sensor.wallbox_commander_2_sn_755800_corriente_de_carga_maxima

But error receive is this one:
Message malformed: expected float for dictionary value @ data[‘value’]

Anybody having such or similar experience¿

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106836

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>