Slightly adjust word order of cups and remove duplicate note (#30147)

This commit is contained in:
Fletcher 2023-12-05 02:39:05 +08:00 committed by GitHub
parent add81ad088
commit 7f03097753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ ha_platforms:
ha_integration_type: integration ha_integration_type: integration
--- ---
The `cups` sensor platform is using the open source printing system [CUPS](https://www.cups.org/) to show details about your printers, including the ink levels. It can obtain the information using a CUPS server or communicating directly with the printer with the Internet Printing Protocol. The `cups` sensor platform uses the open source printing system [CUPS](https://www.cups.org/) to show details about your printers, including the ink levels. It can obtain the information using a CUPS server or by communicating directly with the printer with the Internet Printing Protocol.
## Setup ## Setup
@ -40,7 +40,7 @@ sensor:
{% configuration %} {% configuration %}
printers: printers:
description: List of printers to add. If you're not using a CUPS server, add here your "Printer Name". description: List of printers to add. If you're not using a CUPS server, add your "Printer Name" here.
required: true required: true
type: list type: list
host: host:
@ -73,9 +73,3 @@ sensor:
printers: printers:
- ipp/print - ipp/print
``` ```
<div 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`).
</div>