Update athom-smart-plug-v2.yaml to Categorize Config/Diag in HA and add meaningful WiFi, Uptime and Last Restarted sensors #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes:
entity_category: diagnostic and entity_category: config - In HA this places these sensors and configuration items in the correct location, when viewing the individual devices in the ESP Home integration
Uptime Sensor & WiFi Signal - Change to internal, whilst allowing their use in sensors that format the output to be more useful or meaningful
WiFi Strength - Add sensor that reports signal as a %, as compared to Db that is meaningless to most people. Pulls data from WiFi Signal sensor.
Device Uptime - Add a sensor that uses Uptime Sensor to provide a formatted output of the days/hours/seconds the device has been up, as opposed to a xxxxxx seconds, that to be meaningful needs deciding with a calculator
sntp_time - Add a sensor that reports the actual date and time of when the device was last restarted