Skip to content

Commit bb3df55

Browse files
Revert docs
1 parent 6929cdd commit bb3df55

File tree

2 files changed

+37
-50
lines changed

2 files changed

+37
-50
lines changed

docs/faq.md

Lines changed: 35 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,65 @@
11
# FAQ
22

3-
## Does a device have to be in the library?
4-
3+
## Does a device have to be in the library?
54
No, you can always add a device manually by going to Settings -> Integrations -> Battery Notes screen add a new device where you can enter the battery details manually.
65

7-
## Why is my device not being discovered?
8-
9-
It could be missing from the [library](https://github.com/andrew-codechimp/HA-Battery-Notes/blob/main/library.md) or does not exactly match the name that your integration has. ZHA and Z2M for example have different manufacturers/models for the same device, you can still add it manually or contribute to the library.
10-
11-
## When is the library updated?
6+
## Why is my device not being discovered?
7+
It could be missing from the [library](https://github.com/andrew-codechimp/HA-Battery-Notes/blob/main/library.md) or does not exactly match the name that your integration has. ZHA and Z2M for example have different manufacturers/models for the same device, you can still add it manually or contribute to the library.
128

9+
## When is the library updated?
1310
It updates when Home Assistant is restarted and approximately every 24 hours after that.
1411
It will pull the latest devices that have been merged into the main branch, if you have recently submitted a pull request for a new device it will not appear until it has been manually reviewed and merged.
1512

16-
## How do I remove a battery note on a device?
17-
13+
## How do I remove a battery note on a device?
1814
Go into the Settings -> Integrations -> Battery Notes, use the menu on the right of a device and select Delete, this will only delete the battery note, not the whole device.
1915

20-
## Can I edit a battery note?
21-
16+
## Can I edit a battery note?
2217
Go into Settings -> Integrations -> Battery Notes and click Configure on the device you want to edit.
2318

24-
## Why am I only able to see some of my devices when adding manually?
25-
26-
By default Battery Notes filters the device list to only devices with a battery, if you want to add a battery note to a random device then you can disable this filtering by turning on the Show all devices configuration setting.
27-
28-
## I only want to add notes to a few devices, can I disable auto discovery?
29-
30-
If you want to disable this functionality you can turn off auto discovery in the configuration settings
31-
32-
## I don't want to track battery replacement, can I disable this?
19+
## Why am I only able to see some of my devices when adding manually?
20+
By default Battery Notes filters the device list to only devices with a battery, if you want to add a battery note to a random device then you can disable this filtering by adding the following configuration to your `configuration.yaml` and restart Home Assistant to see all devices.
21+
```
22+
battery_notes:
23+
show_all_devices: True
24+
```
3325

34-
Yes, you can turn off enable replaced within configuration settings. _new_ devices added to battery notes will have the battery replaced sensor and button disabled. Any devices you have previously added to Battery Notes you will have to disable/enable these sensors manually, which also means you can just enable specific sensors of important ones you want to track.
26+
## I only want to add notes to a few devices, can I disable auto discovery?
27+
If you want to disable this functionality you can add the following to your `configuration.yaml`, after a restart of Home Assistant you will not see discovered battery notes.
28+
```
29+
battery_notes:
30+
enable_autodiscovery: False
31+
```
3532

36-
## My device doesn't show a Battery+ sensor
33+
## I don't want to track battery replacement, can I disable this?
34+
Yes, you can add the following to your `configuration.yaml`, after a restart of Home Assistant *new* devices added to battery notes will have the battery replaced sensor and button disabled. Any devices you have previously added to Battery Notes you will have to disable/enable these sensors manually, which also means you can just enable specific sensors of important ones you want to track.
35+
```
36+
battery_notes:
37+
enable_replaced: False
38+
```
3739

40+
## My device doesn't show a Battery+ sensor
3841
This is usually because the device does not have a battery percentage, you can create one if your device has a voltage, low indicator or similar by following [these instructions](entities.md/#adding-a-battery-percentage)
3942

40-
## My device is not picking up the proper battery percentage for Battery+
41-
42-
If your device has a different percentage, perhaps a max charge indicator Battery Notes cannot identify the correct battery percentage to monitor. You can either hide the entity you want Battery+ to ignore or you can remove the Battery Notes device, then re-add as an Entity Association Type manually and choose the correct battery percentage to monitor.
43-
44-
## How do I create a battery low template
4543

44+
## How do I create a battery low template
4645
The best way to do this is to test in the developer tools/template section for your sensor.
47-
Be aware that Home Assistant shows friendly alternatives for some sensors, so when you are seeing Normal/Low this may really be a bool, testing in the template tool will allow you to determine the correct template to use. Start by adapting one of these.
48-
46+
Be aware that Home Assistant shows friendly alternatives for some sensors, so when you are seeing Normal/Low this may really be a bool, testing in the template tool will allow you to determine the correct template to use. Start by adapting one of these.
4947
```
5048
{{ states('sensor.mysensor_battery_low') }}
5149
{{ states('sensor.mysensor_battery_level') == "Low" }}
5250
{{ states('sensor.mysensor_battery_voltage') | float(5) < 1 }}
5351
```
54-
5552
Once you have got your template correct you can copy/paste it into the battery notes configuration section for that device and it will use that for detecting the battery is low and raising the battery notes event.
5653

5754
## My Shelly device is not showing a Battery+
55+
There seems to have been an issue with the Shelly integration at some point where the battery entity was not created properly and therefore Battery Notes cannot find it. To fix this do the following:
56+
* Remove the battery note from the Shelly device
57+
* Remove the Shelly device from the Shelly integration
58+
* Re-Add the Shelly device
59+
* Add the battery note to the device
5860

59-
There seems to have been an issue with the Shelly integration at some point where the battery entity was not created properly and therefore Battery Notes cannot find it. To fix this do the following:
60-
61-
- Remove the battery note from the Shelly device
62-
- Remove the Shelly device from the Shelly integration
63-
- Re-Add the Shelly device
64-
- Add the battery note to the device
65-
66-
## How do I install pre-release versions via HACS
6761

62+
## How do I install pre-release versions via HACS
6863
Within Home Assistant go to Settings -> Integrations -> HACS
6964
Select Services
7065
Select Battery Notes
@@ -74,16 +69,7 @@ Select the cog icon
7469
Select Enable
7570
Select Update and wait for the entity to be enabled
7671
Turn on the Pre-release toggle
77-
HACS will now show updates available for pre-releases if there are any
78-
79-
## How do I uninstall Battery Notes
80-
81-
Within Home Assistant go to Settings -> Integrations -> Battery Notes
82-
Click on the three dots for the top Battery Notes service and select Delete
83-
Go to HACS from your sidebar
84-
Click on the three dots next to Battery Notes and select Remove
85-
Restart Home Assistant
86-
87-
## How can I show my support?
72+
HACS will now show updates available for pre-releases if there are any
8873

74+
## How can I show my support?
8975
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/codechimp)

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ Once you have [installed the integration](https://github.com/andrew-codechimp/HA
3434

3535
## To add a battery note manually
3636

37-
- Go to Settings/Integrations/Battery Notes and click Add Battery Note.
37+
- Go to Settings/Integrations and click Add Integration.
38+
- Select Battery Notes.
3839
- Choose Device or Entity and click next. Device will automatically detect a battery and will work for most common devices, you should use entity if your device has multiple batteries or when an entity does not have a device.
3940
- Choose your device or entity from the drop down and click next.
4041
- Enter the battery type and quantity and optionally a battery low threshold and click submit.

0 commit comments

Comments
 (0)