mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Update Nad media_player component configuration (#7240)
This commit is contained in:
parent
007a9df7b8
commit
32878977db
@ -13,7 +13,6 @@ ha_release: 0.36
|
|||||||
ha_iot_class: "Local Polling"
|
ha_iot_class: "Local Polling"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `nad` platform allows you to control a [NAD receiver](http://nadelectronics.com) through RS232 from Home Assistant.
|
The `nad` platform allows you to control a [NAD receiver](http://nadelectronics.com) through RS232 from Home Assistant.
|
||||||
|
|
||||||
To add an NAD receiver to your installation, add the following to your `configuration.yaml` file:
|
To add an NAD receiver to your installation, add the following to your `configuration.yaml` file:
|
||||||
@ -25,13 +24,32 @@ media_player:
|
|||||||
serial_port: /dev/ttyUSB0
|
serial_port: /dev/ttyUSB0
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
serial_port:
|
||||||
- **serial_port** (*Required*): The serial port . Default is `/dev/ttyUSB0`
|
description: The serial port.
|
||||||
- **name** (*Optional*): Name of the device. Default is NAD Receiver.
|
required: true
|
||||||
- **min_volume** (*optional*): Minimum volume in dB to use with the slider. Default is `-92`
|
default: "/dev/ttyUSB0"
|
||||||
- **max_volume** (*optional*): Maximum volume in dB to use with the slider. Default is `-20`
|
type: string
|
||||||
- **sources** (*Optional*): A list of mappings from source to source name. Valid sources are `1 to 10`.
|
name:
|
||||||
|
description: Name of the device.
|
||||||
|
required: false
|
||||||
|
default: NAD Receiver
|
||||||
|
type: string
|
||||||
|
min_volume:
|
||||||
|
description: Minimum volume in dB to use with the slider.
|
||||||
|
required: false
|
||||||
|
default: -92
|
||||||
|
type: integer
|
||||||
|
max_volume:
|
||||||
|
description: Maximum volume in dB to use with the slider.
|
||||||
|
required: false
|
||||||
|
default: -20
|
||||||
|
type: integer
|
||||||
|
sources:
|
||||||
|
description: A list of mappings from source to source name. Valid sources are `1 to 10`.
|
||||||
|
required: false
|
||||||
|
type: [list, string]
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB. You can still force it to go higher or lower than the values set with the plus and minus buttons.
|
The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB. You can still force it to go higher or lower than the values set with the plus and minus buttons.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user