mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
Update configuration variables description
This commit is contained in:
parent
ccb00150e9
commit
24c63abda6
@ -33,12 +33,22 @@ sensor:
|
|||||||
- C430
|
- C430
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
printers:
|
||||||
- **printers** array (*Required*): List of printers to add.
|
description: List of printers to add.
|
||||||
- **host** (*Optional*): IP address of the CUPS print server.
|
required: true
|
||||||
- **port** (*Optional*): Port address of the CUPS print server. Defaults to 631.
|
type: list
|
||||||
|
host:
|
||||||
|
description: IP address of the CUPS print server.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: 127.0.0.1
|
||||||
|
port:
|
||||||
|
description: Port of the CUPS print server.
|
||||||
|
required: false
|
||||||
|
type: int
|
||||||
|
default: 631
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
You will need to install the `python3-dev` or `python3-devel` and the development files for CUPS (`libcups2-dev` or`cups-devel`) package on your system manually (eg. `sudo apt-get install python3-dev libcups2-dev` or `sudo dnf -y install python3-devel cups-devel`) along with a compiler (`gcc`).
|
You will need to install the `python3-dev` or `python3-devel` and the development files for CUPS (`libcups2-dev` or`cups-devel`) package on your system manually (eg. `sudo apt-get install python3-dev libcups2-dev` or `sudo dnf -y install python3-devel cups-devel`) along with a compiler (`gcc`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user