Last active
April 27, 2023 18:02
-
-
Save GitHubGoody/6b8a4df78c67064c649369f63e4a1406 to your computer and use it in GitHub Desktop.
Home Assistant Carrier Infinity (Infinitude) REST template sensors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Energy | |
# cooling Upstairs, Downstairs, Sunroom | |
# eheat Upstairs, Downstairs, Sunroom | |
# fan Sunroom | |
# fangas Sunroom | |
# gas Upstairs, Downstairs, Sunroom | |
# hpheat Downstairs, Sunroom | |
# reheat Sunroom | |
# Upstairs | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Upstairs Cooling Energy" | |
resource: http://192.168.0.100:3000/energy.json | |
state_class: total | |
unique_id: "energy_upstairs_cooling" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].cooling[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Upstairs Electric Heat Energy" | |
resource: http://192.168.0.100:3000/energy.json | |
state_class: total | |
unique_id: "energy_upstairs_electric_heat" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].eheat[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Upstairs Gas Energy" | |
resource: http://192.168.0.100:3000/energy.json | |
state_class: total | |
unique_id: "energy_upstairs_gas" | |
unit_of_measurement: "kWh" | |
value_template: '{{((value_json.energy[0].usage[0].period[1].gas[0]|float/100)*29.3)|round(1)}}' | |
- platform: rest | |
icon: mdi:lightning-bolt | |
name: "Upstairs Gas Energy Therms" | |
resource: http://192.168.0.100:3000/energy.json | |
unique_id: "energy_upstairs_gas_therms" | |
unit_of_measurement: "therms" | |
value_template: '{{(value_json.energy[0].usage[0].period[1].gas[0]|float/100)|round(0)}}' | |
# Downstairs | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Downstairs Cooling Energy" | |
resource: http://192.168.0.100:3001/energy.json | |
state_class: total | |
unique_id: "energy_downstairs_cooling" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].cooling[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Downstairs Electric Heat Energy" | |
resource: http://192.168.0.100:3001/energy.json | |
state_class: total | |
unique_id: "energy_downstairs_electric_heat" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].eheat[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Downstairs Gas Energy" | |
resource: http://192.168.0.100:3001/energy.json | |
state_class: total | |
unique_id: "energy_downstairs_gas" | |
unit_of_measurement: "kWh" | |
value_template: '{{((value_json.energy[0].usage[0].period[1].gas[0]|float/100)*29.3)|round(1)}}' | |
- platform: rest | |
icon: mdi:lightning-bolt | |
name: "Downstairs Gas Energy Therms" | |
resource: http://192.168.0.100:3001/energy.json | |
unique_id: "energy_downstairs_gas_therms" | |
unit_of_measurement: "therms" | |
value_template: '{{(value_json.energy[0].usage[0].period[1].gas[0]|float/100)|round(0)}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Downstairs Heat Pump Heating Energy" | |
resource: http://192.168.0.100:3001/energy.json | |
state_class: total | |
unique_id: "energy_downstairs_heat_pump_heating" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].hpheat[0]}}' | |
# Sunroom | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Cooling Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_cooling" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].cooling[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Electric Heat Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_electric_heat" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].eheat[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Fan Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_fan" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].fan[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Fan Gas Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_fan_gas" | |
unit_of_measurement: "kWh" | |
value_template: '{{((value_json.energy[0].usage[0].period[1].fangas[0]|float/100)*29.3)|round(1)}}' | |
- platform: rest | |
icon: mdi:lightning-bolt | |
name: "Sunroom Fan Gas Energy Therms" | |
resource: http://192.168.0.100:3002/energy.json | |
unique_id: "energy_sunroom_fan_gas_therms" | |
unit_of_measurement: "therms" | |
value_template: '{{(value_json.energy[0].usage[0].period[1].fangas[0]|float/100)|round(0)}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Gas Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_gas" | |
unit_of_measurement: "kWh" | |
value_template: '{{((value_json.energy[0].usage[0].period[1].gas[0]|float/100)*29.3)|round(1)}}' | |
- platform: rest | |
icon: mdi:lightning-bolt | |
name: "Sunroom Gas Energy Therms" | |
resource: http://192.168.0.100:3002/energy.json | |
unique_id: "energy_sunroom_gas_therms" | |
unit_of_measurement: "therms" | |
value_template: '{{(value_json.energy[0].usage[0].period[1].gas[0]|float/100)|round(0)}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Heat Pump Heating Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_heat_pump_heating" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].hpheat[0]}}' | |
- platform: rest | |
device_class: energy | |
icon: mdi:lightning-bolt | |
name: "Sunroom Electric Reheat Energy" | |
resource: http://192.168.0.100:3002/energy.json | |
state_class: total | |
unique_id: "energy_sunroom_electric_reheat" | |
unit_of_measurement: "kWh" | |
value_template: '{{value_json.energy[0].usage[0].period[1].reheat[0]}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment