Skip to content

Commit faff9c9

Browse files
pschmittfabaff
authored andcommitted
webostv: Add documentation for the filename config (#1951)
* notify.webostv and media_player.webostv: Add documentation for the filename configuration * Remove line breaks
1 parent c91fb86 commit faff9c9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

source/_components/media_player.webostv.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Configuration variables:
3030
- **host** (*Optional*): The IP of the LG webOS Smart TV, e.g. `192.168.0.10`.
3131
- **mac** (*Optional*): The MAC address of the TV, e.g. `C8:08:E9:99:99:1A`.
3232
- **name** (*Optional*): The name you would like to give to the LG webOS Smart TV.
33+
- **filename** (*Optional*): The filename where the pairing key with the TV should be stored. This path is relative to Home Assistant's config directory. It defaults to `webostv.conf`.
3334
- **customize** array (*Optional*): List of options to customize.
3435
- ***sources** array (*Optional*): List of hardware inputs.
3536

@@ -45,6 +46,7 @@ media_player:
4546
host: 192.168.0.10
4647
mac: C8:08:E9:99:99:1A
4748
name: Living Room TV
49+
filename: webostv.conf
4850
customize:
4951
sources:
5052
- livetv

source/_components/notify.webostv.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ notify:
2525
- platform: webostv
2626
host: 192.168.0.112
2727
name: livingroom_tv
28+
filename: webostv.conf
2829
```
2930
3031
Configuration variables:
3132
3233
- **host** (*Required*): The IP of the LG WebOS Smart TV, e.g. 192.168.0.10
3334
- **name** (*Required*): The name you would like to give to the LG WebOS Smart TV.
35+
- **filename** (*Optional*): The filename where the pairing key with the TV should be stored. This path is relative to Home Assistant's config directory. It defaults to `webostv.conf`.
3436

3537
A possible automation could be:
3638

0 commit comments

Comments
 (0)