Hello !
I have a problem with my GreenWave PowerNode outlet. In the HA, I can switch the socket only when I turn the socket by hand or I get no status update in the HA (So that the socket is on or off)
Hello terra2000
i’am a neebies on this solution but before that i used Jeedom and the states return is also a problem with this material (and i am French > sorry for my English).
I have 4 “GreenWave Power Node 1 port” and i have realised an automation for change the state online when i use the physical switch button by hand with this :
id: '< YOUR ID HERE >'
alias: 'Action Switch prise 1 (on)'
description: ''
trigger:
- platform: device
type: turned_on
device_id: < YOUR ID DEVICE HERE >
entity_id: switch.greenwave_reality_inc_powernode_1_port_switch_1
domain: switch
for:
hours: 0
minutes: 0
seconds: 0
- platform: time_pattern
seconds: '1'
condition:
- condition: and
conditions:
- condition: numeric_state
entity_id: sensor.greenwave_reality_inc_powernode_1_port_power_1
attribute: power_consumption
above: '0'
action:
- service: switch.turn_on
data:
entity_id: switch.greenwave_reality_inc_powernode_1_port_switch_1
entity_id: switch.greenwave_reality_inc_powernode_1_port_switch_1
mode: single
I force the push state to change online when the “Power consuption” is up to 0 W.
I don’t know if this is the most logical solution but this is fonctional for the moment.
enjoy!
Fred