Added Transporter digital input (#6422)

Added Transporter digital input script
This commit is contained in:
Jeppe Ladefoged 2018-10-02 11:08:23 +02:00 committed by Fabian Affolter
parent 0122c1ca92
commit ed2db0421c

View File

@ -34,6 +34,22 @@ Configuration variables:
<p class='note'>This platform now uses the web interface of the Logitech Media Server to send commands. The default port of the web interface is 9000. It is the same port that you use to access the LMS through your web browser. Originally, this platform used the telnet interface, which defaults to 9090. If you previously specified the port in your configuration file, you will likely need to update it.</p>
The Logitech Transporter which have two digital inputs can be activated using a script. The following example turns on the Transporter and activates the toslink input interface:
```yaml
# Turn on Transporter and activate toslink interface
transporter_toslink:
sequence:
- service: homeassistant.turn_on
entity_id: media_player.transporter
- service: media_player.play_media
data:
entity_id: media_player.transporter
media_content_id: "source:toslink"
media_content_type: "music"
```
### {% linkable_title Service `squeezebox_call_method` %}
Call a custom Squeezebox JSONRPC API.