added webostv (#404)

* added webostv

* replaced icon
This commit is contained in:
Dennis Karpienski 2016-04-20 07:05:55 +02:00 committed by Paulus Schoutsen
parent fa2f2b6941
commit 2b9396a494
3 changed files with 84 additions and 0 deletions

View File

@ -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`

View File

@ -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)"
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB