mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-19 20:02:11 +00:00
Minor Edit
This commit is contained in:
@@ -14,52 +14,49 @@
|
||||
#-------------------------------------------
|
||||
sensor:
|
||||
- platform: rest
|
||||
name: PowerWall House now
|
||||
resource: http://http://192.168.10.238/api/meters/aggregates
|
||||
name: House now
|
||||
resource: http://192.168.10.90/api/meters/aggregates
|
||||
method: GET
|
||||
value_template: '{{ value_json.load.instant_power / 1000 }}'
|
||||
unit_of_measurement: kWh
|
||||
|
||||
- platform: rest
|
||||
name: PowerWall Grid now
|
||||
resource: http://http://192.168.10.238/api/meters/aggregates
|
||||
name: Grid now
|
||||
resource: http://192.168.10.90/api/meters/aggregates
|
||||
method: GET
|
||||
value_template: '{{ value_json.site.instant_power / 1000 }}'
|
||||
unit_of_measurement: kWh
|
||||
|
||||
- platform: rest
|
||||
name: PowerWall Solar now
|
||||
resource: http://http://192.168.10.238/api/meters/aggregates
|
||||
name: Solar now
|
||||
resource: http://192.168.10.90/api/meters/aggregates
|
||||
method: GET
|
||||
value_template: '{{ value_json.solar.instant_power / 1000 }}'
|
||||
unit_of_measurement: kWh
|
||||
|
||||
- platform: rest
|
||||
name: PowerWall Battery now
|
||||
resource: http://http://192.168.10.238/api/meters/aggregates
|
||||
resource: http://192.168.10.90/api/meters/aggregates
|
||||
method: GET
|
||||
value_template: '{{ value_json.battery.instant_power / 1000 }}'
|
||||
unit_of_measurement: kWh
|
||||
|
||||
- platform: rest
|
||||
name: PowerWall Battery Capacity
|
||||
resource: http://http://192.168.10.238/api/system_status/soe
|
||||
resource: http://192.168.10.90/api/system_status/soe
|
||||
method: GET
|
||||
value_template: '{{ 13500 // (100 / value_json.percentage) }}'
|
||||
unit_of_measurement: W
|
||||
|
||||
#-------------------------------------------
|
||||
# group:
|
||||
# pihole:
|
||||
# entities:
|
||||
# - sensor.carlopihole
|
||||
# - sensor.pi_hole_version
|
||||
# - sensor.pihole_dns_unique_clients
|
||||
# - sensor.pihole_dns_queries_today
|
||||
# - sensor.pihole_ads_blocked_today
|
||||
# - sensor.pihole_ads_percentage_today
|
||||
# - sensor.pihole_ads_percentage_blocked_today
|
||||
# - switch.pihole_temp_disable
|
||||
group:
|
||||
Power:
|
||||
entities:
|
||||
- sensor.powerwall_battery_capacity
|
||||
- sensor.powerwall_battery_now
|
||||
- sensor.grid_now
|
||||
- sensor.house_now
|
||||
- sensor.solar_now
|
||||
#-------------------------------------------
|
||||
|
||||
#
|
||||
|
@@ -156,7 +156,8 @@ automation:
|
||||
image: >-
|
||||
{% set pictures = [
|
||||
"/config/www/custom_ui/floorplan/images/branding/repo_ad.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/repo_ad2.png"
|
||||
"/config/www/custom_ui/floorplan/images/branding/repo_ad2.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/repo_ad3.png"
|
||||
] %}
|
||||
{{ pictures|random }}
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 1.3 MiB |
BIN
config/www/custom_ui/floorplan/images/branding/repo_ad3.png
Executable file
BIN
config/www/custom_ui/floorplan/images/branding/repo_ad3.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
Reference in New Issue
Block a user