diff --git a/source/_components/media_player.webostv.markdown b/source/_components/media_player.webostv.markdown new file mode 100644 index 00000000000..0ccb2706dad --- /dev/null +++ b/source/_components/media_player.webostv.markdown @@ -0,0 +1,35 @@ +--- +layout: page +title: "LG WebOS TV" +description: "Instructions how to integrate a LG WebOS TV within Home Assistant." +date: 2016-04-18 23:24 +sidebar: true +comments: false +sharing: true +footer: true +logo: webostv.png +ha_category: Media Player +ha_iot_class: "Local Poll" +-------------------------- + + +The `webostv` platform allows you to control a LG WebOS Smart TV. + +When the TV is first connected, you will need to accept Home Assistant on the TV to allow communication. + +To add a TV to your installation, add the following to your `configuration.yaml` file and follow the configurator instructions: + +```yaml +# Example configuration.yaml entry +media_player: + platform: webostv + host: 192.168.0.10 + name: Living Room TV +``` + +Configuration variables: + +- **host** *Optional*: The IP of the LG WebOS Smart TV, e.g. 192.168.0.10 +- **name** *Optional*: The name you would like to give to the LG WebOS Smart TV. + +If you do not provide a host name, all LG WebOS Smart TV's within your network will be auto-discovered if your TV network name is set to `[LG] webOS TV` \ No newline at end of file diff --git a/source/_components/notify.webostv.markdown b/source/_components/notify.webostv.markdown new file mode 100644 index 00000000000..8ebb971b068 --- /dev/null +++ b/source/_components/notify.webostv.markdown @@ -0,0 +1,49 @@ +--- +layout: page +title: "LG WebOS TV" +description: "Instructions how to integrate a LG WebOS TV within Home Assistant." +date: 2016-04-18 23:24 +sidebar: true +comments: false +sharing: true +footer: true +logo: webostv.png +ha_category: Notifications +ha_iot_class: "Local Poll" +-------------------------- + + +The `webostv` platform allows you to send notifications to a LG WebOS Smart TV. + +When the TV is first connected, you will need to accept Home Assistant on the TV to allow communication. + +To add a TV to your installation, add the following to your `configuration.yaml` file and follow the configurator instructions: + +```yaml +# Example configuration.yaml entry +notify: + platform: webostv + host: 192.168.0.112 + name: livingroom_tv +``` + +Configuration variables: + +- **host** *Required*: The IP of the LG WebOS Smart TV, e.g. 192.168.0.10 +- **name** *Required*: The name you would like to give to the LG WebOS Smart TV. + +A possible automation could be: + +```yaml +# Example configuration.yaml entry +automation: + - alias: Open a window + trigger: + platform: numeric_state + entity_id: sensor.netatmo_livingroom_co2 + above: 999 + action: + service: notify.livingroom_tv + data: + message: "You should open a window! (Livingroom Co2: {{ states.sensor.netatmo_livingroom_co2.state }}ppm)" +``` \ No newline at end of file diff --git a/source/images/supported_brands/webos.png b/source/images/supported_brands/webos.png new file mode 100644 index 00000000000..4cbd9877217 Binary files /dev/null and b/source/images/supported_brands/webos.png differ