Skip to content

Commit

Permalink
Add phone battery levels to HS dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Dec 12, 2024
1 parent 9efc219 commit 0647258
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configuration/devices/headless/server/home-assistant/lovelace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,16 @@ in {
title = "Battery";

bulk_rename = [
# Phone (has to be on top else rename does not work)
{
from = "FP5 Battery level";
to = "Ryan Fairphone 5";
}
{
from = "iPhone von Sarah Battery Level";
to = "Sarah iPhone 15 Pro Max ";
}

# Netatmo valve
{ from = " Battery"; }
{
Expand Down Expand Up @@ -431,6 +441,10 @@ in {
name = "Parasoll {range}%";
entities = [ "sensor.reduit_parasoll_battery" ];
}
{
name = "Phone {range}%";
entities = [ "sensor.fp5_battery_level" "sensor.iphone_von_sarah_battery_level" ];
}
{
name = "Shelly H&T Gen3 {range}%";
entities = [ "sensor.bedroom_h_t_gen3_battery" "sensor.entrance_h_t_gen3_battery" ];
Expand Down

0 comments on commit 0647258

Please sign in to comment.