mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 03:37:06 +00:00
Some component doc updates
This commit is contained in:
parent
c381284689
commit
62abadd5d7
22
source/_components/light.hyperion.markdown
Normal file
22
source/_components/light.hyperion.markdown
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
layout: component
|
||||||
|
title: Hyperion
|
||||||
|
description: "Instructions how to integrate Hyperion into Home Assistant."
|
||||||
|
date: 2015-10-25 22:43
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
ha_category: Light
|
||||||
|
---
|
||||||
|
|
||||||
|
This platform allows you to integrate your Hyperion into Home Assistant.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
light:
|
||||||
|
platform: hyperion
|
||||||
|
host: 192.168.1.98
|
||||||
|
# Optional
|
||||||
|
port: 19444
|
||||||
|
```
|
@ -29,13 +29,13 @@ script:
|
|||||||
domain: light
|
domain: light
|
||||||
- alias: Bedroom lights on
|
- alias: Bedroom lights on
|
||||||
service: light.turn_on
|
service: light.turn_on
|
||||||
data:
|
service_data:
|
||||||
entity_id: group.bedroom
|
entity_id: group.bedroom
|
||||||
- delay:
|
- delay:
|
||||||
# supports seconds, milliseconds, minutes, hours, etc.
|
# supports seconds, milliseconds, minutes, hours, etc.
|
||||||
minutes: 1
|
minutes: 1
|
||||||
- alias: Living room lights on
|
- alias: Living room lights on
|
||||||
service: light.turn_on
|
service: light.turn_on
|
||||||
data:
|
service_data:
|
||||||
entity_id: group.living_room
|
entity_id: group.living_room
|
||||||
```
|
```
|
||||||
|
@ -11,15 +11,17 @@ ha_category: Automation
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
This component can expose regular shell commands as services.
|
This component can expose regular shell commands as services. Services can be called from a script
|
||||||
|
or in automation.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
# Exposes service shell_command.restart_pow
|
||||||
shell_command:
|
shell_command:
|
||||||
restart_pow: touch ~/.pow/restart.txt
|
restart_pow: touch ~/.pow/restart.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- Alias for the command and the command itself.
|
- Alias for the command
|
||||||
|
- Command itself.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user