https://github.com/jzucker2/denon-video-select
A custom Home Assistant integration to handle the special Denon AVR video select mode
https://github.com/jzucker2/denon-video-select
denon denon-avr hacs hacs-integration homeassistant homeassistant-custom-component homeassistant-integration
Last synced: 3 months ago
JSON representation
A custom Home Assistant integration to handle the special Denon AVR video select mode
- Host: GitHub
- URL: https://github.com/jzucker2/denon-video-select
- Owner: jzucker2
- License: mit
- Created: 2024-09-20T21:57:48.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-02-09T23:19:19.000Z (4 months ago)
- Last Synced: 2025-02-09T23:19:21.471Z (4 months ago)
- Topics: denon, denon-avr, hacs, hacs-integration, homeassistant, homeassistant-custom-component, homeassistant-integration
- Language: Python
- Homepage:
- Size: 212 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Denon Video Select
[![GitHub Release][releases-shield]][releases]
[![GitHub Activity][commits-shield]][commits]
[![License][license-shield]](LICENSE)[![pre-commit][pre-commit-shield]][pre-commit]
[![Black][black-shield]][black][![hacs][hacsbadge]][hacs]
[![Project Maintenance][maintenance-shield]][user_profile]
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee][![Discord][discord-shield]][discord]
[![Community Forum][forum-shield]][forum]**TO BE REMOVED: If you need help, as a developer, to use this custom component tempalte,
please look at the [User Guide in the Cookiecutter documentation](https://cookiecutter-homeassistant-custom-component.readthedocs.io/en/stable/quickstart.html)****This component will set up the following platforms.**
| Platform | Description |
| --------------- | -------------------------------------- |
| `binary_sensor` | Show something `True` or `False`. |
| `sensor` | Show info from Denon Video Select API. |
| `switch` | Switch something `True` or `False`. |![example][exampleimg]
## Installation
1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`).
2. If you do not have a `custom_components` directory (folder) there, you need to create it.
3. In the `custom_components` directory (folder) create a new folder called `denon_video_select`.
4. Download _all_ the files from the `custom_components/denon_video_select/` directory (folder) in this repository.
5. Place the files you downloaded in the new directory (folder) you created.
6. Restart Home Assistant
7. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Denon Video Select"Using your HA configuration directory (folder) as a starting point you should now also have this:
```text
custom_components/denon_video_select/translations/en.json
custom_components/denon_video_select/translations/fr.json
custom_components/denon_video_select/translations/nb.json
custom_components/denon_video_select/translations/sensor.en.json
custom_components/denon_video_select/translations/sensor.fr.json
custom_components/denon_video_select/translations/sensor.nb.json
custom_components/denon_video_select/translations/sensor.nb.json
custom_components/denon_video_select/__init__.py
custom_components/denon_video_select/api.py
custom_components/denon_video_select/binary_sensor.py
custom_components/denon_video_select/config_flow.py
custom_components/denon_video_select/const.py
custom_components/denon_video_select/manifest.json
custom_components/denon_video_select/sensor.py
custom_components/denon_video_select/switch.py
```## Configuration is done in the UI
## Contributions are welcome!
If you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md)
## Credits
This project was generated from [@oncleben31](https://github.com/oncleben31)'s [Home Assistant Custom Component Cookiecutter](https://github.com/oncleben31/cookiecutter-homeassistant-custom-component) template.
Code template was mainly taken from [@Ludeeus](https://github.com/ludeeus)'s [integration_blueprint][integration_blueprint] template
---
[integration_blueprint]: https://github.com/custom-components/integration_blueprint
[black]: https://github.com/psf/black
[black-shield]: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
[buymecoffee]: https://www.buymeacoffee.com/jzucker2
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge
[commits-shield]: https://img.shields.io/github/commit-activity/y/jzucker2/denon-video-select.svg?style=for-the-badge
[commits]: https://github.com/jzucker2/denon-video-select/commits/main
[hacs]: https://hacs.xyz
[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge
[discord]: https://discord.gg/Qa5fW2R
[discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge
[exampleimg]: example.png
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg?style=for-the-badge
[forum]: https://community.home-assistant.io/
[license-shield]: https://img.shields.io/github/license/jzucker2/denon-video-select.svg?style=for-the-badge
[maintenance-shield]: https://img.shields.io/badge/maintainer-%40jzucker2-blue.svg?style=for-the-badge
[pre-commit]: https://github.com/pre-commit/pre-commit
[pre-commit-shield]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?style=for-the-badge
[releases-shield]: https://img.shields.io/github/release/jzucker2/denon-video-select.svg?style=for-the-badge
[releases]: https://github.com/jzucker2/denon-video-select/releases
[user_profile]: https://github.com/jzucker2## Notes
- https://github.com/home-assistant/core/blob/dev/homeassistant/components/denonavr/media_player.py
## Options
Wanted to keep track of the available options.
```javascript
const VideoSelectOptions = {
CD: "CD",
DVD: "DVD",
BD: "BD",
TV: "TV",
Sattalite: "SAT/CBL",
Cable: "SAT/CBL",
Game: "GAME",
Aux1: "AUX1",
Aux2: "AUX2",
MPlay: "MPLAY",
Cancel: "SOURCE",
Status: "?",
Base: "SV",
};
```