Code Monkey home page Code Monkey logo

home-assistant's People

Contributors

faxbio avatar muchasuerte avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

coder89

home-assistant's Issues

Invalid configuration

Hallo,i
I've updated Hassio to new version. Now, when I try to verify the configuration I get this message:

Platform error climate.besmart - cannot import name 'ClimateDevice' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/init.py)

maybe something has changed into libraries.
How can I fix it?
thank you

changing to MANUAL from AUTO does not work anymore

I don't know since when, but now if i try to change from lovelace to MANUAL it suddenly revert back to AUTO.
also If i change the target temp from the "circle" UI in lovelace it works, instead if i change the temp from the inner menu it says "fallita chiamata al servizio climate/set_temperature.

Any chance to have you working on it?
Let me know if I can help somehow

Heating State

Hi there,
not an issue, more like a PR...
I used to create a sensor tracking while the boiler flame is burning, since the climate component changed your code i'm not able to do that again.

I suppose that:
self._heating_state = data.get('heating', '') == '1'

store the information but i cannot find it in the exported properties. There's a way to access this information in HA or do i need some code change in your component?

Can You post installation guide?

Those files contains not only Besmart configuration but also You other sensors and integrations. Can You split them so only besmart related code will be here? It will be easier to setup Your component for newbies like me.

Can't install on HA

I am on 0.95.4 version.
I created a dir
/home/homeassistant/.homeassistant/custom_components/Besmart
with files:
manifest.json
init.py
climate.py

manifest.json is:

{
  "domain": "besmart",
  "name": "Besmart",
  "documentation": "https://github.com/muchasuerte/home-assistant/tree/master/custom_components/besmart",
  "dependencies": [],
  "codeowners": ["@royduin"],
  "requirements": []
}

in my configuration.yaml:

climate:
  - platform: Besmart
    name: Caldaia
    username: myuser
    password: mypass
    room: myroom
    scan_interval: 10

But I get:

Platform not found: climate.Besmart

Custom Climate Component Besmart not working

py scripts return errors and do not retrieve (nor send) any data from / to besmart thermostat.

2018-09-05 00:20:02 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 226, in _handle_service_platform_call
await func(entity, data)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 679, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/climate/besmart.py", line 310, in set_temperature
self._setRoomTemp(temperature)
File "/config/custom_components/climate/besmart.py", line 163, in _setRoomTemp
thModel = self._roomData.get('thModel')
AttributeError: 'NoneType' object has no attribute 'get'

'Thermostat' object has no attribute '_season

HA version 0.99.2.

I get:

2019-09-28 12:48:07 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 266, in async_update_ha_state
self._async_write_ha_state()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 308, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File "/home/homeassistant/.homeassistant/custom_components/Besmart/climate.py", line 366, in device_state_attributes
'season_mode': self.SEASON_BESMART_TO_HA.get(self._season)
AttributeError: 'Thermostat' object has no attribute '_season'

In my configuration.yaml I have:

climate:
  - platform: Besmart
    name: Caldaia
    username: myName
    password: MyPass
    room:myRoom
    scan_interval: 10

Thanks!

HA 0.90.1 broke the besmart custom component

Hi, it's me again.
Upgrading HA to later than 0.89 the custom component doesn't work anymore.
I suppose something changed in the climate base component.
The log reports:

og Details (ERROR)
Wed Mar 27 2019 02:23:40 GMT+0100 (Ora standard dell’Europa centrale)
Error loading custom_components.climate.besmart. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/loader.py", line 166, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/config/custom_components/climate/besmart.py", line 21, in
from homeassistant.components.climate import (ClimateDevice,
ImportError: cannot import name 'SUPPORT_TARGET_TEMPERATURE' from 'homeassistant.components.climate' (/usr/local/lib/python3.7/site-packages/homeassistant/components/climate/init.py)

any plan to fix it? let me know if i can help somehow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.