home-assistant.io/source/_components/configurator.markdown
Fabian Affolter 53dc68cd36 Update links
2016-04-12 11:09:00 +02:00

27 lines
1.1 KiB
Markdown

---
layout: page
title: "Configurator"
description: "Instructions how to integrate the configurator in your components."
date: 2015-03-15 00:51
sidebar: true
comments: false
sharing: true
footer: true
logo: home-assistant.png
ha_category: Other
---
<p class='note'>
This component is intended for developers.
</p>
The configurator component allows components to request information from the user. It is currently implemented as the minimum viable product:
- It supports showing a text, image and button to the user
- Input fields can be defined with a description, and optional type
- It will trigger a callback when the button is pressed
The Hue component in [the demo](/demo) and Plex are implemented using the configurator. See [the source of the demo component](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/demo.py#L132) for a simple example.
See [the source](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/configurator.py#L39) for more details on how to use the configurator component.