Comments (8)
It's a 2-step install...
- Install via HACS. Seems like you have done this already.
- Go to Settings -> Device and Services -> Add Integration...you should now see this
- Install
from ontario_energy_board.
Yep, super noob couldn't find it.
Thanks very much for taking the time to answer. Working great!
from ontario_energy_board.
What about mapping the attributes so I can have each of them on their own entity card? Is this possible?
For instance, I have "sensor.alectra_utilities_corporation_brampton_rate_zone_residential_rate" currently set as a gauge card showing off_peak as 'green' zone, mid_peak as 'yellow' zone, and on_peak as 'red' zone. Is there a way for me to show the attribute 'active_peak' as its own entity so I can have it on its own entity card?
Been trying something like this is configuration.yaml but I can't seem to get it to map:
sensor:
-
platform: alectra_utilities
-
platform: template1
sensors:
alectra_utilities_active_peak:
value_template: "{{states.sensor.alectra_utilities_corporation_brampton_rate_zone_residential_rate.attributes.active_peak}}"
from ontario_energy_board.
for your example try this.... be careful around spacing / indentation
- platform: template
sensors:
alectra_utilities_active_peak:
value_template: "{{ state_attr('sensor.alectra_utilities_corporation_brampton_rate_zone_residential_rate','active_peak') }}"
friendly_name: "Brampton Hydro Rate"
1st line: start with dash platform: template (you had template1)
2nd line...align sensors under platform
3rd line...indent 2 spaces for sensor name
4th line...align value_template under alectra..... (double quotes with inner single quotes)
5th line...align friendly_name under alectra....
once your sensor is setup...you reference it as sensor.alectra_utilities_active peak in your Entities card.
drop the platform: alectra_utilities tag...
from ontario_energy_board.
should be like this...seems the editor in this tool drops the spaces...
from ontario_energy_board.
I feel like I need a line above - platform: template
Does the first line need to be the hacs install name? I tried sensor below but I'm getting an error for duplicate key.
#OntarioPowerAttributes
sensor:
- platform: template
sensors:
alectra_utilities_active_peak:
value_template: "{{ state_attr('sensor.alectra_utilities_corporation_brampton_rate_zone_residential_rate','active_peak') }}"
friendly_name: "Brampton Hydro Rate"
from ontario_energy_board.
This should work:
sensor:
- platform: template
sensors:
alectra_utilities_active_peak:
value_template: "{{ state_attr('sensor.alectra_utilities_corporation_brampton_rate_zone_residential_rate', 'active_peak') }}"
friendly_name: Alectra Active Peak
Line 1 is if you're adding this to your configuration.yaml file directly, as opposed to using a separate YAML file for sensors. If that's the case, skip line 1.
Line 4 is the ID of your new sensor. Make sure it's unique.
Line 5 gets the active peak from the attribute of the OEB sensor. Make sure the sensor ID matches what you have.
Line 6 is just the friendly name for the sensor, it can be anything.
from ontario_energy_board.
from ontario_energy_board.
Related Issues (20)
- OEB breaks workday; holidays version conflicts HOT 1
- Unable to import component: No module named 'hijri_converter' HOT 1
- Error adding this integration HOT 6
- Add support for ULO rates HOT 14
- Failing with HA 2023.8 HOT 4
- Rates missing HOT 1
- Cannot install on HA 2023.10.5 HOT 3
- "Green Button" HOT 1
- DIfferent OEB rate class HOT 3
- Request: Hourly Ontario Energy Price
- Offer both ULO and TOU rates as separate entities? HOT 5
- ULO - Hydro Ottawa Limited (RESIDENTIAL) [Electricity] Rate sensor (under Ontario Energy Board v0.4.0) is not working anymore HOT 5
- Gas Supplier Rates not showing under 0.4.0 HOT 2
- Enbridge Gas Rate Selection Leads to update failure HOT 2
- Errors after upgrading to HASS 2024.4.4 HOT 2
- Time of Use / Tiered HOT 1
- Failed setup with 0.4.1 HOT 2
- Detected blocking call to import_module inside the event loop HOT 1
- TOU rates not changing
- Unable To Install Integration - Error Fetching Data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ontario_energy_board.