Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65ee8be

Browse files
committed
Apply YAML style guidelines and documentation standards
1 parente5193c3 commit65ee8be

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

‎source/_integrations/energy_tracker.markdown‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Before configuring the integration, you need:
2424

2525
1. An[Energy Tracker account](https://www.energy-tracker.best-ios-apps.de)
2626
2. A**Personal Access Token** from your Energy Tracker account:
27-
- Log in to your Energy Tracker account
28-
- Navigate to**API****Access Tokens**
29-
- Create a new Personal Access Token
30-
- Copy and save the token securely
27+
1. Log in to your Energy Tracker account
28+
2. Navigate to**API****Access Tokens**
29+
3. Create a new Personal Access Token
30+
4. Copy and save the token securely
3131

3232
{% include integrations/config_flow.md %}
3333

@@ -98,17 +98,17 @@ Send your electricity meter reading daily at 23:55:
9898
```yaml
9999
-alias:"Send daily electricity reading"
100100
triggers:
101-
-trigger:time
102-
at:"23:55:00"
103-
conditions:
104-
-"{{ states('sensor.electricity_meter') != 'unavailable' }}"
105-
-"{{ states('sensor.electricity_meter') != 'unknown' }}"
106-
actions:
107-
-action:energy_tracker.send_meter_reading
108-
data:
109-
entry_id:"01234567890abcdef01234567890abcd"
110-
device_id:"deadbeef-dead-beef-dead-beefdeadbeef"
111-
source_entity_id:sensor.electricity_meter
101+
-trigger:time
102+
at:"23:55:00"
103+
conditions:
104+
-"{{ states('sensor.electricity_meter') != 'unavailable' }}"
105+
-"{{ states('sensor.electricity_meter') != 'unknown' }}"
106+
actions:
107+
-action:energy_tracker.send_meter_reading
108+
data:
109+
entry_id:"01234567890abcdef01234567890abcd"
110+
device_id:"deadbeef-dead-beef-dead-beefdeadbeef"
111+
source_entity_id:sensor.electricity_meter
112112
```
113113
{% endraw %}
114114
@@ -120,16 +120,16 @@ Send gas meter reading when the sensor value changes:
120120
```yaml
121121
-alias:"Send gas reading on change"
122122
triggers:
123-
-trigger:state
124-
entity_id:sensor.gas_meter
125-
conditions:
126-
-"{{ trigger.to_state.state not in ['unavailable', 'unknown'] }}"
127-
actions:
128-
-action:energy_tracker.send_meter_reading
129-
data:
130-
entry_id:"01234567890abcdef01234567890abcd"
131-
device_id:"12345678-1234-5678-1234-567812345678"
132-
source_entity_id:sensor.gas_meter
123+
-trigger:state
124+
entity_id:sensor.gas_meter
125+
conditions:
126+
-"{{ trigger.to_state.state not in ['unavailable', 'unknown'] }}"
127+
actions:
128+
-action:energy_tracker.send_meter_reading
129+
data:
130+
entry_id:"01234567890abcdef01234567890abcd"
131+
device_id:"12345678-1234-5678-1234-567812345678"
132+
source_entity_id:sensor.gas_meter
133133
```
134134
{% endraw %}
135135

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp