hydreon_rgxx - add resolution option (#3529)

This commit is contained in:
mrtoy-me 2024-03-12 12:32:01 +10:00 committed by GitHub
parent d2af542012
commit 9f30cf7b60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,7 @@ Device FAQ: `<https://rainsensors.com/support/rg-9-rg-15-faq/>`__
sensor:
- platform: hydreon_rgxx
model: "RG_15"
resolution: high
update_interval: 60s
acc:
name: "rain"
@ -101,6 +102,9 @@ Configuration variables:
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
- All other options from :ref:`Sensor <config-sensor>`.
- **resolution** (*Optional*, string): Specify rain sensor resolution. Must be either ``low`` or ``high``. Default resolution is ``high``.
Only applies to RG-15.
- **acc** (*Optional*): Amount of rain since last message (see ``update_interval``), in ``mm``. Only on RG-15.
- **name** (**Required**, string): The name for the sensor.