Untitled
unknown
plain_text
7 months ago
6.0 kB
5
Indexable
Never
type: vertical-stack title: Live Power Consumption cards: - type: gauge entity: sensor.load_power name: House Load min: 0 max: 20000 needle: true severity: green: 0 yellow: 6000 red: 10000 - type: custom:config-template-card variables: - entity: sensor.emporiavue2_c668_breaker_1a_power name: Garage - entity: sensor.emporiavue2_c668_breaker_7a_power name: Garden Lights - entity: sensor.emporiavue2_c668_breaker_9b_power name: Kitchen Lights - entity: sensor.emporiavue2_c668_breaker_11c_power name: Kitchen Fridge - entity: sensor.emporiavue2_c668_breaker_13a_power name: K.Island Sockets - entity: sensor.emporiavue2_c668_breaker_15b_power name: Microwave - entity: sensor.emporiavue2_c668_breaker_17c_power name: Oven - entity: sensor.emporiavue2_c668_breaker_19a_power name: Kitchen AC - entity: sensor.emporiavue2_c668_breaker_21b_power name: Kitchen Stove - entity: sensor.emporiavue2_c668_breaker_23c_power name: Kitchen Hood - entity: sensor.emporiavue2_c668_breaker_25a_power name: Kitchen Appliances - entity: sensor.emporiavue2_c668_breaker_27b_power name: M.Guest Lights - entity: sensor.emporiavue2_c668_breaker_29c_power name: M.Guest Sockets - entity: sensor.emporiavue2_c668_breaker_31a_power name: M.Guest AC - entity: sensor.emporiavue2_c668_breaker_33b_power name: Swimming Pool - entity: sensor.emporiavue2_c668_breaker_35c_power name: M.Bedroom Lights - entity: sensor.vue2_8c2c_mainphases_breaker_2a_power name: Laundry Room - entity: sensor.vue2_8c2c_mainphases_breaker_4b_power name: Outdoor Kitchen - entity: sensor.vue2_8c2c_mainphases_breaker_6c_power name: Outdoor Seating Area - entity: sensor.vue2_8c2c_mainphases_breaker_8a_power name: Storage Room+TV - entity: sensor.vue2_8c2c_mainphases_breaker_10b_power name: Office Lights - entity: sensor.vue2_8c2c_mainphases_breaker_12c_power name: Office AC - entity: sensor.vue2_8c2c_mainphases_breaker_16b_power name: L.room Sockets - entity: sensor.vue2_8c2c_mainphases_breaker_18c_power name: L.room AC - entity: sensor.vue2_8c2c_mainphases_breaker_20a_power name: Small Guest Room Lights - entity: sensor.vue2_8c2c_mainphases_breaker_22b_power name: Small Guest Room Sockets - entity: sensor.vue2_8c2c_mainphases_breaker_24c_power name: Small Guest Room AC - entity: sensor.vue2_8c2c_mainphases_breaker_26a_power name: Adam's Room Lights - entity: sensor.vue2_8c2c_mainphases_breaker_28b_power name: Adam's Room Sockets - entity: sensor.vue2_8c2c_mainphases_breaker_30c_power name: Adam's Room AC - entity: sensor.vue2_8c2c_mainphases_breaker_32a_power name: M.Bedroom Boiler - entity: sensor.vue2_8c2c_mainphases_breaker_34b_power name: M.Bedroom AC entities: - sensor.emporiavue2_c668_breaker_1a_power - sensor.emporiavue2_c668_breaker_7a_power - sensor.emporiavue2_c668_breaker_9b_power - sensor.emporiavue2_c668_breaker_11c_power - sensor.emporiavue2_c668_breaker_13a_power - sensor.emporiavue2_c668_breaker_15b_power - sensor.emporiavue2_c668_breaker_17c_power - sensor.emporiavue2_c668_breaker_19a_power - sensor.emporiavue2_c668_breaker_21b_power - sensor.emporiavue2_c668_breaker_23c_power - sensor.emporiavue2_c668_breaker_25a_power - sensor.emporiavue2_c668_breaker_27b_power - sensor.emporiavue2_c668_breaker_29c_power - sensor.emporiavue2_c668_breaker_31a_power - sensor.emporiavue2_c668_breaker_33b_power - sensor.emporiavue2_c668_breaker_35c_power - sensor.vue2_8c2c_mainphases_breaker_2a_power - sensor.vue2_8c2c_mainphases_breaker_4b_power - sensor.vue2_8c2c_mainphases_breaker_6c_power - sensor.vue2_8c2c_mainphases_breaker_8a_power - sensor.vue2_8c2c_mainphases_breaker_10b_power - sensor.vue2_8c2c_mainphases_breaker_12c_power - sensor.vue2_8c2c_mainphases_breaker_16b_power - sensor.vue2_8c2c_mainphases_breaker_18c_power - sensor.vue2_8c2c_mainphases_breaker_20a_power - sensor.vue2_8c2c_mainphases_breaker_22b_power - sensor.vue2_8c2c_mainphases_breaker_24c_power - sensor.vue2_8c2c_mainphases_breaker_26a_power - sensor.vue2_8c2c_mainphases_breaker_28b_power - sensor.vue2_8c2c_mainphases_breaker_30c_power - sensor.vue2_8c2c_mainphases_breaker_32a_power - sensor.vue2_8c2c_mainphases_breaker_34b_power element: type: custom:bar-card entities: >- ${vars.filter(v => states[v.entity].state > 10).sort((v1,v2) => states[v2.entity].state-states[v1.entity].state)} direction: right entity_row: true min: 0 max: ${ Math.max(...vars.map(v => states[v.entity].state))} height: 20px stack: vertical decimal: 0 icon: mdi:flash positions: icon: 'off' indicator: outside name: inside value: inside severity: - color: '#3ea8328a' from: 0 to: 10 - color: '#85a8328a' from: 10 to: 50 - color: '#9d992f' from: 50 to: 1000 - color: '#e69900' from: 1000 to: 3000 - color: '#a832328a' from: 3000 to: 6000 - color: '#000000' from: 6000 to: 20000 style: "#states > * {\n margin: 1px;\n}\nbar-card-name,\nbar-card-value {\n font-size: 0.9rem;\n color: #ffffffaa;\n font-weight: bold;\n}\nbar-card-value\t{\n font-weight: bolder;\n}\nbar-card-indicator {\n margin-top: 4px;\n transform: scaleY(-1);\n}"
Leave a Comment