Last active
February 27, 2025 21:54
-
-
Save kariudo/52353d96a0b37ef3611600ad8f2052b4 to your computer and use it in GitHub Desktop.
Eversource Sucks, Scrape Them: A list of my home assistant scrape config to get costs into my energy dashboard.
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
- resource: https://www.eversource.com/content/residential/account-billing/manage-bill/about-your-bill/rates-tariffs/electric-delivery-rates | |
scan_interval: 6000 | |
sensor: | |
- name: Eversource Transmission Charge | |
unique_id: "eversource_transmission_charge" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(4) > div > table > tbody > tr > td:nth-child(2)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" | |
- name: Eversource Distribution Customer Service Charge | |
unique_id: "eversource_distribution_customer_service_charge" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(1) > td:nth-child(3)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/month" | |
- name: Eversource Distribution Charge | |
unique_id: "eversource_distribution_charge" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(2) > td:nth-child(3)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" | |
- name: Eversource Electric System Improvements Charge | |
unique_id: "eversource_electric_system_improvements_charge" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(3) > td:nth-child(3)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" | |
- name: Eversource Revenue Adjustment Mechanism | |
unique_id: "eversource_revenue_adjustment_mechanism" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(4) > td:nth-child(3)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" | |
- name: Eversource Competitive Transition Assessment | |
unique_id: "eversource_competitive_transition_assessment" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(5) > td:nth-child(3)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" | |
- resource: https://www.eversource.com/content/residential/account-billing/manage-bill/about-your-bill/rates-tariffs/public-benefits-rates-in-connecticut | |
scan_interval: 6000 | |
sensor: | |
- name: Eversource Federally Mandated Congestion Charge | |
unique_id: "eversource_federally_mandated_congestion_charge" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(2) > td:nth-child(2)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" | |
- name: Eversource Combined Public Benefits Charge | |
unique_id: "eversource_combined_public_benefits_charge" | |
select: "#MainContentPlaceholder_TEF602CA6001_Col00 > div:nth-child(4) > div > div:nth-child(5) > div > table > tbody > tr:nth-child(1) > td:nth-child(2)" | |
index: 0 | |
value_template: '{{ value.split("(")[0].split("$")[1].strip() | float }}' | |
unit_of_measurement: "USD/kWh" |
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
- sensor: | |
- name: "Eversource Total Rate" | |
unique_id: "eversource_total_rate" | |
state: "{{ states('input_number.electrical_supply_rate') | float + states('sensor.eversource_transmission_charge') | float + states('sensor.eversource_electric_system_improvements_charge') | float + states('sensor.eversource_distribution_charge') | float + states('sensor.eversource_revenue_adjustment_mechanism') | float + states('sensor.eversource_competitive_transition_assessment') | float + states('sensor.eversource_federally_mandated_congestion_charge') | float + states('sensor.eversource_combined_public_benefits_charge') | float }}" | |
unit_of_measurement: "USD/kWh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated working as of 2/27/2025.
My setup also includes a UI defined (for convenient updating with my changing random supplier) for input_number.electrical_supply_rate that is set to whatever my current contracted supplier generation rate is.