firstof9 / ha-openei

OpenEI integration for Home Assistant
MIT License
15 stars 2 forks source link

Fix error while loading #83

Open stabbylambda opened 7 hours ago

stabbylambda commented 7 hours ago

I went to go add the component to my HA. It helps if you name the property the same in the config as you do in the library. 🤦‍♂️

codecov[bot] commented 7 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.69%. Comparing base (bd795e9) to head (df4d4d7). Report is 4 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/firstof9/ha-openei/pull/83/graphs/tree.svg?width=650&height=150&src=pr&token=wgKvwVOwTu&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris)](https://app.codecov.io/gh/firstof9/ha-openei/pull/83?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris) ```diff @@ Coverage Diff @@ ## master #83 +/- ## ========================================== - Coverage 94.96% 94.69% -0.27% ========================================== Files 5 5 Lines 397 396 -1 ========================================== - Hits 377 375 -2 - Misses 20 21 +1 ``` | [Files with missing lines](https://app.codecov.io/gh/firstof9/ha-openei/pull/83?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris) | Coverage Δ | | |---|---|---| | [custom\_components/openei/const.py](https://app.codecov.io/gh/firstof9/ha-openei/pull/83?src=pr&el=tree&filepath=custom_components%2Fopenei%2Fconst.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chris#diff-Y3VzdG9tX2NvbXBvbmVudHMvb3BlbmVpL2NvbnN0LnB5) | `100.00% <ø> (ø)` | |