Remove obsolete homebridge_* settings (#11823)

This commit is contained in:
Franck Nijhof 2020-01-21 06:27:50 +01:00 committed by Paulus Schoutsen
parent 2f3943044d
commit 97f318a99b
2 changed files with 6 additions and 17 deletions

View File

@ -27,6 +27,7 @@ Under the *Configuration* menu you'll find the *Customization* menu. If this men
homeassistant: homeassistant:
customize: !include customize.yaml customize: !include customize.yaml
``` ```
#### Possible values #### Possible values
{% configuration customize %} {% configuration customize %}
@ -34,20 +35,11 @@ friendly_name:
description: Name of the entity as displayed in the UI. description: Name of the entity as displayed in the UI.
required: false required: false
type: string type: string
homebridge_name:
description: Name of the entity in `HomeBridge`.
required: false
type: string
hidden: hidden:
description: Set to `true` to hide the entity. description: Set to `true` to hide the entity.
required: false required: false
type: boolean type: boolean
default: false default: false
homebridge_hidden:
description: Set to `true` to hide the entity from `HomeBridge`.
required: false
type: boolean
default: false
emulated_hue_hidden: emulated_hue_hidden:
description: Set to `true` to hide the entity from `emulated_hue` (this will be deprecated in the near future and should be configured in [`emulated_hue`](/integrations/emulated_hue)). description: Set to `true` to hide the entity from `emulated_hue` (this will be deprecated in the near future and should be configured in [`emulated_hue`](/integrations/emulated_hue)).
required: false required: false
@ -133,7 +125,6 @@ homeassistant:
"scene.month_*_colors": "scene.month_*_colors":
hidden: true hidden: true
emulated_hue_hidden: false emulated_hue_hidden: false
homebridge_hidden: true
``` ```
### Reloading customize ### Reloading customize

View File

@ -76,13 +76,14 @@ When providing `select_source` as a command, it is recommended to also provide t
## Usage examples ## Usage examples
#### Chromecast & Kodi control with switches ### Chromecast & Kodi control with switches
In this example, a switch is available to control the power of the television. Switches are also available to turn the volume up, turn the volume down, and mute the audio. These could be command line switches or any other entity in Home Assistant. The `turn_on` and `turn_off` commands will be redirected to the television, and the volume commands will be redirected to an audio receiver. The `select_source` command will be passed directly to an A/V receiver. In this example, a switch is available to control the power of the television. Switches are also available to turn the volume up, turn the volume down, and mute the audio. These could be command line switches or any other entity in Home Assistant. The `turn_on` and `turn_off` commands will be redirected to the television, and the volume commands will be redirected to an audio receiver. The `select_source` command will be passed directly to an A/V receiver.
The children are a Chromecast and a Kodi player. If the Chromecast is playing, the Universal Media Player will reflect its status. If the Chromecast is idle and Kodi is playing, the universal media player will change to reflect its status. The children are a Chromecast and a Kodi player. If the Chromecast is playing, the Universal Media Player will reflect its status. If the Chromecast is idle and Kodi is playing, the universal media player will change to reflect its status.
{% raw %} {% raw %}
```yaml ```yaml
media_player: media_player:
platform: universal platform: universal
@ -129,6 +130,7 @@ media_player:
source: media_player.receiver|source source: media_player.receiver|source
source_list: media_player.receiver|source_list source_list: media_player.receiver|source_list
``` ```
{% endraw %} {% endraw %}
#### Kodi CEC-TV control #### Kodi CEC-TV control
@ -139,24 +141,19 @@ We store the state of the attached TV in a hidden [input boolean](/integrations/
Because the input boolean used to store the TV state is only changing when using the Home Assistant `turn_on` and `turn_off` actions, and Kodi could be controlled by so many ways, we also define some automations to update this Input Boolean when needed. Because the input boolean used to store the TV state is only changing when using the Home Assistant `turn_on` and `turn_off` actions, and Kodi could be controlled by so many ways, we also define some automations to update this Input Boolean when needed.
In an Apple HomeKit scene, we can now expose this universal media player as an on/off switch in Homebridge, and, that way, use Siri to turn on and off the TV.
The complete configuration is: The complete configuration is:
{% raw %} {% raw %}
```yaml ```yaml
homeassistant: homeassistant:
customize: customize:
input_boolean.kodi_tv_state: input_boolean.kodi_tv_state:
hidden: true hidden: true
homebridge_hidden: true
media_player.kodi: media_player.kodi:
hidden: true hidden: true
homebridge_hidden: true
media_player.kodi_tv: media_player.kodi_tv:
friendly_name: Kodi friendly_name: Kodi
homebridge_name: Kodi
homebridge_media_player_switch: on_off
input_boolean: input_boolean:
kodi_tv_state: kodi_tv_state:
@ -236,4 +233,5 @@ automation:
- service: media_player.turn_off - service: media_player.turn_off
entity_id: media_player.kodi_tv entity_id: media_player.kodi_tv
``` ```
{% endraw %} {% endraw %}