fbjerggaard / home-assistant-barry Goto Github PK
View Code? Open in Web Editor NEWBarry integration for Home Assistant
Barry integration for Home Assistant
Get this error in the log after adding Barry, no entities are created.
`Logger: homeassistant.components.sensor
Source: custom_components/barry/sensor.py:92
Integration: Sensor (documentation, issues)
First occurred: 8:41:39 PM (2 occurrences)
Last logged: 8:41:39 PM
Error adding entities for domain sensor with platform barry
Error while setting up barry platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 747, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/barry/sensor.py", line 105, in async_added_to_hass
await self.check_stuff()
File "/config/custom_components/barry/sensor.py", line 97, in check_stuff
await self.hass.async_add_executor_job(self._update_current_price)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/barry/sensor.py", line 92, in _update_current_price
self._current_spot_price = self._barry_home.update_spot_price(self._price_code)[0]
TypeError: 'NoneType' object is not subscriptable`
I am tracking my energy usage from my EV charger in the Home Assistant Energy. It would be great to use this addon with the correct price after "refusion". Basically it just needs to substract 1.12kr from all prices.
The Nordpool integration (https://github.com/custom-components/nordpool) has an bolean attribute whether tomorrows data is valid or not. This is very helpful when trying to display future prices in a bar graph.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.