Add doc for touchscreen binary_sensor page_id (#1936)

This commit is contained in:
Jesse Hills 2022-02-23 11:06:08 +13:00 committed by GitHub
parent e62c773d07
commit db4fdf2f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ buttons.
x_max: 100
y_min: 0
y_max: 100
page_id: home_page_id
Configuration Variables:
************************
@ -68,6 +69,7 @@ Configuration Variables:
- **x_max** (**Required**, int): Right coordinate of the screen area to be detected as the virtual button.
- **y_min** (**Required**, int): Top coordinate of the screen area to be detected as the virtual button.
- **y_max** (**Required**, int): Bottom coordinate of the screen area to be detected as the virtual button.
- **page_id** (*Optional*, :ref:`config-id`): Only trigger this binary sensor if the display is showing this page.
- All other options from :ref:`Binary Sensor <config-binary_sensor>`.