Code Monkey home page Code Monkey logo

htd_mc-home-assistant's People

Contributors

hikirsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

htd_mc-home-assistant's Issues

Warning About Depricated Features

2024-04-26 08:28:19.804 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-04-26 08:28:19.807 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-04-26 08:28:19.809 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-04-26 08:28:19.811 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-04-26 08:28:19.821 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-04-26 08:28:19.823 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference

Setup failed for htd_mc: Unable to import component: cannot import name 'Dict' from 'homeassistant.helpers.typing' (/usr/src/homeassistant/homeassistant/helpers/typing.py)

With Home Assistant 2022.2.2, the integration is breaking with an error on reboot/restart:

Setup failed for htd_mc: Unable to import component: cannot import name 'Dict' from 'homeassistant.helpers.typing' (/usr/src/homeassistant/homeassistant/helpers/typing.py)

Based on the commits, it appears this has been removed from the typing module: home-assistant/core@d3b7bd2#diff-04ffa15896003585ef538fdf75493426e3ca86537e60e24669c3b472efc3cfd0.

Simply removing the Dict import will correct the issue:

__init__.py

"""Support for Home Theatre Direct's MC series"""
import voluptuous as vol

from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv, discovery
from homeassistant.const import CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.typing import ConfigType #, Dict

Installation Steps

I can't get this installed on my home assistant after moving off of Home Assistant Core and onto the standard image. Can you confirm whether there is way to install this on a standard home assistant installation?

The UI provides a way to specify a repo to add as a custom addon, however this repo does not work. Any suggestions would be appreciated.

Thanks!

image

Volume 100%

When trying to set the volume to 100% through home assistant it doesn’t work. If I set the volume to max through the HTD app, the HTD plugin in HA shows 0

HtdDevice using deprecated supported features

Just upgraded to 2024.1 and seeing these error msgs in logs:

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1524
First occurred: 12:45:08 PM (12 occurrences)
Last logged: 12:45:08 PM

Entity None (<class 'custom_components.htd_mc.media_player.HtdDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE: 3468>, please report it to the author of the 'htd_mc' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Unfortunately I'm not savvy enough to fix, so posting here. Thx!

Multiple Systems Error

Trying to configure multiple systems and receiving an error:

Invalid config for [htd_mc]: expected a dictionary for dictionary value @ data['htd_mc']. Got [OrderedDict([('host', '192.168.86.61'), ('port', 10006), ('zones', ['Outside - Couch', 'Outside - Fireplace', 'Outside - Rocks', 'Kitchen', 'Dining Room', 'Master Bathroom']), ('sources', ['Apple', 'Up - Chromecast', 'Dn - Chromecast', 'TV - Outside', 'TV - Family Rm'])]), OrderedDict([('host', '192.168.86.231'), ('port', 10006), ('zones', ['Pool Table Room', "Aubrey's Room", "Jonas' Room", '-unused-', 'Office', 'Workout Room']), ('sources', ['Pool Table TV', 'Up - Chromecast', 'Dn - Chromec.... (See /config/configuration.yaml, line 276).

Configuration.yaml:

htd_mc:
  - host: 192.168.xxx.xxx
    port: 10006
    zones:
      - Zone 1
      - Zone 2
    sources:
      - Source 1
      - Source 2
  - host: 192.168.xxx.yyy
    port: 10006
    zones:
      - Zone 1a
      - Zone 2a
    sources:
      - Source 1a
      - Source 2a

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.