mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Merge pull request #325 from Landrash/patch-1
Added hidden and local picture examples
This commit is contained in:
commit
875a923b6b
@ -76,6 +76,7 @@ For more details please check the [Group](https://home-assistant.io/components/g
|
|||||||
|
|
||||||
By default, all of your devices will be visible and have a default icon determined by their domain. You can customize the look and feel of your front page by altering some of these parameters. This can be done by adding the following configuration inside the `homeassistant:` section.
|
By default, all of your devices will be visible and have a default icon determined by their domain. You can customize the look and feel of your front page by altering some of these parameters. This can be done by adding the following configuration inside the `homeassistant:` section.
|
||||||
|
|
||||||
|
Devices that you dont want to have visible can be hidden with `hidden`.
|
||||||
`entity_picture`entries, badges, `device_tracker` pictures, etc. can either be external URLs (e.g. `http://example.com/example.jpg`) or of the form `/local/filename.jpg`, where `/local` represents the directory `www` in the HASS configuration directory. You may have to create the `www` directory yourself as it is not made automatically.
|
`entity_picture`entries, badges, `device_tracker` pictures, etc. can either be external URLs (e.g. `http://example.com/example.jpg`) or of the form `/local/filename.jpg`, where `/local` represents the directory `www` in the HASS configuration directory. You may have to create the `www` directory yourself as it is not made automatically.
|
||||||
|
|
||||||
You can also use `icon` and refer to any icon from [MaterialDesignIcons.com](http://MaterialDesignIcons.com).
|
You can also use `icon` and refer to any icon from [MaterialDesignIcons.com](http://MaterialDesignIcons.com).
|
||||||
@ -87,11 +88,15 @@ homeassistant:
|
|||||||
# Add this to your existing configuration
|
# Add this to your existing configuration
|
||||||
# Only the `entity_id` is required. All other options are optional.
|
# Only the `entity_id` is required. All other options are optional.
|
||||||
customize:
|
customize:
|
||||||
|
sensor.living_room_motion:
|
||||||
|
hidden: true
|
||||||
thermostat.family_roomfamily_room:
|
thermostat.family_roomfamily_room:
|
||||||
hidden: true
|
|
||||||
entity_picture: https://dl.dropboxusercontent.com/u/12345/images/nest.jpg
|
entity_picture: https://dl.dropboxusercontent.com/u/12345/images/nest.jpg
|
||||||
friendly_name: Nest
|
friendly_name: Nest
|
||||||
switch.wemo_switch_1:
|
switch.wemo_switch_1:
|
||||||
|
friendly_name: Toaster
|
||||||
|
entity_picture: /local/toaster.jpg
|
||||||
|
switch.wemo_switch_2:
|
||||||
friendly_name: Kitchen kettle
|
friendly_name: Kitchen kettle
|
||||||
icon: mdi:kettle
|
icon: mdi:kettle
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user