hikirsch / htd_mc-home-assistant Goto Github PK
View Code? Open in Web Editor NEWAn integration for the HTD MC/MCA-66 Series for Home Assistant
License: MIT License
An integration for the HTD MC/MCA-66 Series for Home Assistant
License: MIT License
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
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
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!
After updating to Home Assistant 2021.6, this component will no longer load, presumably because it hasn't been updated to include a version key. Details:
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
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!
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
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.