include update func. in main script and display version in hass device info

This commit is contained in:
Hristo
2024-01-28 17:44:00 +02:00
committed by Masoko
parent 9c6c54c189
commit 7d4f725e8b
4 changed files with 93 additions and 33 deletions

View File

@@ -40,6 +40,21 @@ The easiest way to track your Raspberry Pi or Ubuntu computer system health and
* 2024-01-27: Updated the sensors names not to include the device name as per home assistant guidelines
* 2024-01-10: Added support for Raspberry Pi 5 fan speed monitoring (only works on Raspberry Pi 5 with stock fan)
## CLI arguments
```
usage: rpi-cpu2mqtt.py [-h] [--display] [--service] [--version] [--update]
options:
-h, --help show this help message and exit
--display, -d display values on screen
--service, -s run script as a service
--version, -v display version
--update, -u update script and config
```
## Installation
### Automated