Hey All,
Newbie here,
I posted in energy and did not recieve a response, I know it has not been long but thought I’d try here as I think it is yaml programming issue.
I am trying to integrate my Neurio device. I read a few posts and am this far.
I have tried a seperate yaml file (not sure I added !include properly), also tried adding to configuration.yaml.
Fixed spacing errors but now have this issue.
Configuration warnings
Integration error: platform - Integration ‘platform’ not found.
Integration error: scan_interval - Integration ‘scan_interval’ not found. Integration error: json_attributes - Integration ‘json_attributes’ not found. Integration error: name - Integration ‘name’ not found. Integration error: value_template - Integration ‘value_template’ not found. Integration error: resource - Integration ‘resource’ not found.
### Energy Neurio ###
- platform: rest
resource: http://192.168.1.121/current-sample
name: neurio_raw
scan_interval: 5
value_template: "OK"
json_attributes:
- channels
- platform: template
scan_interval: 5
sensors:
realtime_consumption_a:
friendly_name: "Phase A Power"
device_class: power
unit_of_measurement: W
value_template: "{{ state_attr('sensor.neurio_raw', 'channels')[0].p_W }}"
realtime_consumption_b:
friendly_name: "Phase B Power"
device_class: power
unit_of_measurement: W
value_template: "{{ state_attr('sensor.neurio_raw', 'channels')[1].p_W }}"
realtime_consumption:
friendly_name: "Total Power"
device_class: power
unit_of_measurement: W
value_template: "{{ state_attr('sensor.neurio_raw', 'channels')[2].p_W }}"
house_voltage:
friendly_name: 'Voltage'
device_class: voltage
unit_of_measurement: V
value_template: "{{ state_attr('sensor.neurio_raw', 'channels')[2].v_V }}"
- platform: integration
source: sensor.realtime_consumption
name: real_energy
Thanks
Jeff in Ontario