Giter VIP home page Giter VIP logo

Comments (4)

dmitry-k avatar dmitry-k commented on July 17, 2024

В ~/.homeassistant/custom_components/yandex_smart_home
Была ошибка в README, исправил.

Это запустится только если в .configuration добавить настройку соответственно инструкции.
Custom components это стандартная фича HA: https://developers.home-assistant.io/docs/en/creating_component_loading.html

from yandex_smart_home.

tayanov avatar tayanov commented on July 17, 2024

Прошу прощения за офтопп. Возможно ли добавить автообновление плагина. или по вызову службы.

from yandex_smart_home.

Filecast avatar Filecast commented on July 17, 2024

Привет не работает mute/unmute на телеке
В логе ha:
2019-06-06 17:18:47 ERROR (MainThread) [custom_components.yandex_smart_home.smart_home] Unexpected error
Traceback (most recent call last):
File "/home/den/.homeassistant/custom_components/yandex_smart_home/smart_home.py", line 48, in _process
result = await handler(hass, data, message)
File "/home/den/.homeassistant/custom_components/yandex_smart_home/smart_home.py", line 178, in handle_devices_execute
capability.get('state', {}))
File "/home/den/.homeassistant/custom_components/yandex_smart_home/helpers.py", line 174, in execute
if type == cpb.type and state['instance'] == cpb.instance:
TypeError: 'NoneType' object is not subscriptable
2019-06-06 17:18:47 ERROR (MainThread) [custom_components.yandex_smart_home.smart_home] Error handling message {'payload': {'devices': [{'id': 'media_player.lg_tv', 'capabilities': [{'type': 'devices.capabilities.toggle', 'state': None}]}, {'id': 'media_player.living_room_tv', 'capabilities': [{'type': 'devices.capabilities.toggle', 'state': None}]}]}}: {'error_code': 'INTERNAL_ERROR'}
2019-06-06 17:19:01 ERROR (MainThread) [custom_components.yandex_smart_home.smart_home] Unexpected error
Traceback (most recent call last):
File "/home/den/.homeassistant/custom_components/yandex_smart_home/smart_home.py", line 48, in _process
result = await handler(hass, data, message)
File "/home/den/.homeassistant/custom_components/yandex_smart_home/smart_home.py", line 178, in handle_devices_execute
capability.get('state', {}))
File "/home/den/.homeassistant/custom_components/yandex_smart_home/helpers.py", line 174, in execute
if type == cpb.type and state['instance'] == cpb.instance:
TypeError: 'NoneType' object is not subscriptable
2019-06-06 17:19:01 ERROR (MainThread) [custom_components.yandex_smart_home.smart_home] Error handling message {'payload': {'devices': [{'id': 'media_player.lg_tv', 'capabilities': [{'type': 'devices.capabilities.toggle', 'state': None}]}, {'id': 'media_player.living_room_tv', 'capabilities': [{'type': 'devices.capabilities.toggle', 'state': None}]}]}}: {'error_code': 'INTERNAL_ERROR'}

from yandex_smart_home.

dmitry-k avatar dmitry-k commented on July 17, 2024

Прошу прощения за офтопп. Возможно ли добавить автообновление плагина. или по вызову службы.

К сожалению я не знаю нормального способа за исключением написания скрипта.

Привет не работает mute/unmute на телеке

Выглядит очень странно. Может быть временные проблемы у яндекса и неправильный запрос в результате.
Если проблема не исчезла, пожалуйста создайте отдельный issue, попробуем разобраться.

from yandex_smart_home.

Related Issues (20)

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.