I have used HASS for sometime now but until now I have never had the need to actually manipulate the numeric values of any specific device. Just yesterday I managed to get the Aeotec zw095 Home Energy Meter working within HASS. Now I would like to send some of values (i.e. Amps, Watts,etc) of this device to my other server. I am already using similar Automation routines that sends messages when a certain event, such as a door being opened, occurs. i.e.
automation 1:
trigger:
platform: state
entity_id: binary_sensor.aeotec_dsb29_doorwindow_sensor_2nd_edition_furnace
to: 'off'
action:
service: notify.EventGhost
data:
message: 'Furnace.Room.Open/Close.Sensor.Closed'
How would I setup a trigger for when a value such as watts has changed and how would send this new value to my server? Hypothetically it may look something like: