Minor Edit

This commit is contained in:
ccostan
2018-03-16 13:27:11 -04:00
parent 8c81da835c
commit 81938ae472
5 changed files with 20 additions and 21 deletions

View File

@@ -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
#-------------------------------------------
#

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB