So I have the below rest sensor, and it works, I see the values I’m expecting. But what I would like to do is turn it into a “Device” and has all of the “json_attributes” as sensors under it. Could someone point me in the right direction to do this. I get how to make the attributes as more sensors but I want them all collected under 1 “Device”.
Any help would be appreciated.
rest:
scan_interval: 2
resource: http://192.168.1.137/php/status.php
sensor:
- name: "Makeup Air Handler"
unique_id: makeup_air_handler
value_template: "{{ value_json.cfm }}"
json_attributes:
- "torque"
- "cfm"
- "watts"
- "current"
- "heaterstatus"
- "damper"
- "atticdamper"
- "whfdamper"
- "heater"
- "insidetemp"
- "outsidetemp"
- "attictemp"
- "diffpressure"
- "filterpressure"
- "makeupfail"
- "catfail"
- "warnings"
- "target"
- "extended"
- "attic"
- "whfexp"
- "heaterexp"
- "hoodlock"
- "firelock"