Tinuva
The Magician
- Joined
- Feb 10, 2005
- Messages
- 12,474
Here in Cape Town 1 unit is 1 kWh.So for all the electricity consumption experts I have a dumb question.
How does kWh equates to the prepaid units you buy?
Here in Cape Town 1 unit is 1 kWh.So for all the electricity consumption experts I have a dumb question.
How does kWh equates to the prepaid units you buy?
Here in Cape Town 1 unit is 1 kWh.
Logically that make senseIt's the same everywhere. A unit of electricity is 1 kWh

Here in Cape Town 1 unit is 1 kWh.
It's the same everywhere. A unit of electricity is 1 kWh
Thanks all, I thought so but googling it didn't get me farLogically that make sense![]()
Thanks, currently I have this in grafana:
SELECT max("value") FROM "kWh" WHERE ("entity_id" = 'study_power_usage_daily') AND $timeFilter GROUP BY time(1d) fill(null)
Tried before, too long to post here, it gets blocked. If you pm me an email address, I can send it.Would you mind sharing the json for the graph?
Thanks a lot but I think I figured it out.Tried before, too long to post here, it gets blocked. If you pm me an email address, I can send it.
- platform: template
sensors:
geyser_voltage::
value_template: >-
{{ states.switch.geyser.voltage }}
unit_of_measurement: "V"
geyser_current:
value_template: >-
{{ states.switch.geyser.current }}
unit_of_measurement: "mA"
geyser_consumption:
value_template: >-
{{ states.switch.geyser.current_consumption }}
unit_of_measurement: "W"
This is mine:I'm trying to access the sensor values for the CBI Astute integration to HA (via local tuya). My configuration.yaml is below. What am I doing wrong?
View attachment 1067529
EDIT: I was missing .attributes in the yaml. i.e. states.switch.geyser.attributes.voltage etc)
Just a small comment on how you are accessing entities and their attributes. It is advised at https://www.home-assistant.io/docs/configuration/templating/ that you rather use:I'm trying to access the sensor values for the CBI Astute integration to HA (via local tuya). My configuration.yaml is below. What am I doing wrong?
View attachment 1067529
EDIT: I was missing .attributes in the yaml. i.e. states.switch.geyser.attributes.voltage etc)
{{ state_attr('switch.geyser', 'current') }}
I have an efergy classic. Note that you'll likely need the hub for web (and HA) accessDoes anyone have a recommendation for a power sensor you can hook up to the mains to check the total comsumption of the house?
The efergy's looks nice as they just clip on.
Like this:I have an efergy classic. Note that you'll likely need the hub for web (and HA) access
#ARMED AND DISARMED TO TELEGRAM BOT - INTERIOR
- alias: Alarm - Interior - Armed
trigger:
- platform: state
entity_id: alarm_control_panel.indoor
from: disarmed
to:
- armed_away
- armed_home
action:
- service: [removed]
data:
title: Interior Alarm
message: Armed
- alias: Alarm - Interior - Disarmed
trigger:
- platform: state
entity_id: alarm_control_panel.indoor
to: disarmed
action:
- service: [removed]
data:
title: Interior Alarm
message: Disarmed
Try:How can I get rid of this false Arm>Disarm>Arm notification on telegram? It happens very randomly. Yesterday morning it happened but today it didnt. It only happens when the Arm is activated by the arm automation when I leave the house (presence detection)
I was thinking it happens because both zones are arming at once and if I add a small delay between the interior arm and exterior arm automation then I wont get the Arm>Disarm>Arm notification?
View attachment 1067575
YAML:#ARMED AND DISARMED TO TELEGRAM BOT - INTERIOR - alias: Alarm - Interior - Armed trigger: - platform: state entity_id: alarm_control_panel.indoor from: disarmed to: - armed_away - armed_home action: - service: [removed] data: title: Interior Alarm message: Armed - alias: Alarm - Interior - Disarmed trigger: - platform: state entity_id: alarm_control_panel.indoor to: disarmed action: - service: [removed] data: title: Interior Alarm message: Disarmed
Code for exterior alarm is the same, just tweaked for the outdoor entity
trigger:
- platform: state
entity_id: alarm_control_panel.indoor
to: disarmed
for:
seconds: 5