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

@ -1,3 +1,4 @@
<link href='https://use.fontawesome.com/releases/v5.0.8/css/all.css' rel='stylesheet'/>
<h1 align="center">
<a name="logo" href="http://www.vmwareinfo.com/search/label/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
<br>
@ -144,7 +145,7 @@ There aren't really automations for the Batteries yet. Electricity is the life
<tr><td colspan="4">
#### Networking <a name="networking" href="https://github.com/CCOSTAN/Home-AssistantConfig#devices"><img align="right" border="0" src="https://scontent-mxp1-1.xx.fbcdn.net/v/t34.0-12/28511153_10155579658673155_2146314492_n.png?_nc_ad=z-m&_nc_cid=0&oh=0d6dd551695860471c45d5b7b17c3cd8&oe=5A99DB47" width="22" ></a>
#### Networking <a name="networking" href="https://github.com/CCOSTAN/Home-AssistantConfig#devices"><i class='icon-arrow-up'/></a>
</td></tr>
<tr><td align="center">

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