I'm the creator of Battery Notes, thanks for the great overview. Adding the battery_notes configuration.yaml entry before restarting will save you from adding the initial device manually. To display the battery type within the yaml you are using you need to replace the getBatteryLabel section as follows. getBatteryLabel: | () => { let battery_label = states[this._config.entities[0]].attributes.friendly_name.replace(/(battery|level)/gi, '').trim() let battery_type = states[this._config.entities[0]].attributes.battery_type_and_quantity if (battery_type) { return `${battery_label} (${battery_type})` } return battery_label }
@smart_home_australia8 ай бұрын
Thanks Andrew. Amazing work. Fabulous that development is so active. It just keeps getting better.
@pierregrosjean28656 ай бұрын
Hello to you I love the principle of your HACS, and installed it following the tutorial from Smart Home Australia, I should point out that I only understand English a little. I find myself with a little problem. the battery status colors are not displayed when creating maps Is there a way to correct this? Thanks in advance for any help kind regards Pierre
@pierregrosjean286527 күн бұрын
hello, excuse this beginner question, despite replacing : getBatteryLabel, in order to display the battery type. it still does not display!
@ucdailoi5 ай бұрын
Your methodical, slow, and detailed walk-through is perfect for those of us keen to keep up with this wonderful technology. Some of us (70+ years old) have no programming skills or knowledge of YAML files and the like and rely on clips like yours to keep us engaged.. Thank you
@smart_home_australia5 ай бұрын
Thanks. Pitching YT videos is difficult, I could so like many others and rush through configuration and then put the code behind paywalls, but instead I prefer to provide the true step by step tutorials that gives the viewer a greater understanding with an outcome. Let me know if you have any specific topics that you'd like covered.
@ucdailoi5 ай бұрын
@@smart_home_australia Yes... I use Ubuntu on my desktop and run Home Assistant on a stand-alone mini PC.. I was stumped, or rather 'met my match' when it came to editing my YAML file when I was following your description. I got to Studio Code Server and wanted to copy and paste but it would not let me.. I searched Google for an answer without results.. So here I sit, stumped.. What can I do to overcome the inability to edit the YAML file on my computer.
@smart_home_australia5 ай бұрын
So you have a desktop running Ubuntu and a stand-alone PC that runs HA, what OS are you running on that? Are you logging into the standard alone mini PC natively or RDP'ing into it? What's the error message you get in Studio Code Server? and are there any error messages in HA's log files. Sorry to ask so many questions. One of HA's strengths is its ability to run on lots of different hardware, but its one of its weaknesses from a support perspective.
@ucdailoi5 ай бұрын
@@smart_home_australia I installed HA, without other software, on to the remote computer and access it from Ubuntu. When I connect and open Studio Code Server, configuration yaml, it allows me to write but not paste. I suspect it has something to do with Ubuntu software. Windows or Apple might allow the 'paste' of the code. I did find a way to add the many lines but it was skewed and when I tested it it came back with the info that 'Card Param' was a problem.. Im sorry if I don't make much sense. My knowledge is limited. It is frustrating to say the least. I may get some help this coming weekend..
@ucdailoi5 ай бұрын
@@smart_home_australia My home-assistant has been installed natively on a dedicated pc. I don’t get an error message as I can not ‘paste’ to the yaml lines. It’s likely that Ubuntu doesn’t have the ability to cope with adding to the yaml file.. I hope to get some help today from my son who is a computer nerd. If not, I will get some desktop shots.
@2502sss8 ай бұрын
Amazing this works so well, thank you for the tutorial. Please do a tutorial of Roomba vacuum robot custom integration with HA, the standard integration does not support room by room cleaning. There is a custom integration but its too complex for me to understand, please do a video supporting this.
@smart_home_australia8 ай бұрын
I wish I could, but I don't own a Roomba so thats makes it tricky :)
@BigBird22028 ай бұрын
Excellent video thank you
@smart_home_australia8 ай бұрын
Glad you enjoyed it
@danhartley30208 ай бұрын
great video but you forgot to put the yaml code for the card at the very end.
@smartdomustech53888 ай бұрын
yes
@smart_home_australia8 ай бұрын
Oops :) I'll add it tomorrow :)
@smart_home_australia8 ай бұрын
Sorry about that, added to video description and also available at tinyurl.com/5s56xfnz
@danhartley30208 ай бұрын
@@smart_home_australia thanks so much! great job!
@smart_home_australia8 ай бұрын
Glad you enjoyed it. 😊👍
@ludovitgyengyar9748 ай бұрын
Thank you very much !
@smart_home_australia8 ай бұрын
You are welcome!
@the_smart_home_maker8 ай бұрын
Great video, thank you!
@smart_home_australia8 ай бұрын
My pleasure! I'm glad you enjoyed it.
@IkaOtim2 ай бұрын
Great overview. But I don't want to use "Battery Notes" anymore. Would be great if you mentioned how to delete the integration.
@smart_home_australia2 ай бұрын
To completely delete the Battery Notes add-on from Home Assistant, follow these steps: 1) Remove the configuration entry: Open your Home Assistant configuration.yaml file and remove the following line: battery_notes: 2) Uninstall the integration: Go to Settings > Integrations in the Home Assistant UI. Find the Battery Notes integration and click on it. Use the menu on the right to select "Uninstall". 3) Delete the custom component files: Navigate to your Home Assistant config directory and locate the custom_components folder. Inside it, find and delete the "battery_notes" folder. 4) Restart Home Assistant: After making these changes, restart your Home Assistant instance to ensure all traces of the add-on are removed. 5) Clean up entities (optional): If you want to remove any leftover entities created by Battery Notes, you can do so manually through the Home Assistant interface or by editing your entity registry file. Remember that uninstalling the integration will remove all battery notes you've added to your devices. If you think you might want to use this information again in the future, consider backing up your configuration before uninstalling. I hope that helps.
@pierregrosjean28657 ай бұрын
Good morning Excellent video, however I don't understand why when I create a map, the battery status colors are not displayed. Thanks in advance for all the help
@smart_home_australia7 ай бұрын
I had the same issue and I raised with the developer (Andrew Jackson, @AndrewJacksonUK, fabulous guy!!). Mine was resolved with reinstalling, but I'd recommend reaching out to him direct.