Skip to content

Commit 8546d0b

Browse files
author
Frank Klaassen
committed
Rename remove_rfid_token to delete_rfid_token
1 parent 3788e77 commit 8546d0b

3 files changed

Lines changed: 20 additions & 20 deletions

File tree

source/_actions/peblar.add_rfid_token.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ related:
77
- docs: /integrations/peblar/
88
title: Peblar
99
- action: peblar.list_rfid_tokens
10-
- action: peblar.remove_rfid_token
10+
- action: peblar.delete_rfid_token
1111
---
1212

1313
The **Add RFID token** action adds a new RFID token to the Peblar charger's standalone authorization list. Once added, the token can be used to authorize charging sessions on the charger without requiring a connection to an external backend.

source/_actions/peblar.remove_rfid_token.markdown renamed to source/_actions/peblar.delete_rfid_token.markdown

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
---
2-
title: "Remove an RFID token"
3-
action: peblar.remove_rfid_token
2+
title: "Delete an RFID token"
3+
action: peblar.delete_rfid_token
44
domain: peblar
5-
description: "Removes an RFID token from the Peblar charger's standalone authorization list."
5+
description: "Deletes an RFID token from the Peblar charger's standalone authorization list."
66
related:
77
- docs: /integrations/peblar/
88
title: Peblar
99
- action: peblar.list_rfid_tokens
1010
- action: peblar.add_rfid_token
1111
---
1212

13-
The **Remove RFID token** action deletes an RFID token from the Peblar charger's standalone authorization list. Once removed, that token can no longer be used to authorize charging sessions on the charger.
13+
The **Delete RFID token** action deletes an RFID token from the Peblar charger's standalone authorization list. Once deleted, that token can no longer be used to authorize charging sessions on the charger.
1414

1515
{% include actions/try_it.md %}
1616

1717
{% include actions/ui_header.md %}
1818

19-
To remove an RFID token from an automation or a script:
19+
To delete an RFID token from an automation or a script:
2020

2121
1. Go to {% my automations title="**Settings** > **Automations & scenes**" %}.
2222
2. Open an existing automation or script, or select **Create** to start a new one.
2323
3. In the **Then do** section, select **Add action**.
24-
4. From the search box, search for and select **Peblar: Remove RFID token**.
25-
5. Under **Config entry**, select the Peblar charger to remove the token from.
26-
6. Enter the **UID** of the RFID token to remove.
24+
4. From the search box, search for and select **Peblar: Delete RFID token**.
25+
5. Under **Config entry**, select the Peblar charger to delete the token from.
26+
6. Enter the **UID** of the RFID token to delete.
2727
7. Select **Save**.
2828

2929
### Options in the UI
3030

3131
{% options_ui %}
3232
Config entry:
33-
description: The Peblar charger to remove the RFID token from.
33+
description: The Peblar charger to delete the RFID token from.
3434
required: true
3535
UID:
36-
description: The unique identifier of the RFID token to remove.
36+
description: The unique identifier of the RFID token to delete.
3737
required: true
3838
{% endoptions_ui %}
3939

4040
{% include actions/yaml_header.md %}
4141

42-
In YAML, refer to this action as `peblar.remove_rfid_token`. A basic example looks like this:
42+
In YAML, refer to this action as `peblar.delete_rfid_token`. A basic example looks like this:
4343

4444
{% example %}
4545
action: |
46-
action: peblar.remove_rfid_token
46+
action: peblar.delete_rfid_token
4747
data:
4848
config_entry_id: "01234567890abcdef01234567890abcd"
4949
uid: "04A1B2C3D4E5F6"
@@ -54,23 +54,23 @@ action: |
5454
{% options_yaml %}
5555
config_entry_id:
5656
description: >
57-
The ID of the Peblar charger config entry to remove the RFID token from.
57+
The ID of the Peblar charger config entry to delete the RFID token from.
5858
required: true
5959
type: string
6060
uid:
6161
description: >
62-
The unique identifier (UID) of the RFID token to remove.
62+
The unique identifier (UID) of the RFID token to delete.
6363
required: true
6464
type: string
6565
{% endoptions_yaml %}
6666

6767
{% include actions/more_examples.md %}
6868

69-
### Automation: remove an RFID token when a person leaves
69+
### Automation: delete an RFID token when a person leaves
7070

71-
When a person is marked as away from home, automatically remove their RFID token from the charger.
71+
When a person is marked as away from home, automatically delete their RFID token from the charger.
7272

73-
{% details "YAML example for removing an RFID token when someone leaves" %}
73+
{% details "YAML example for deleting an RFID token when someone leaves" %}
7474

7575
{% example %}
7676
automation: |
@@ -79,7 +79,7 @@ automation: |
7979
entity_id: person.jane
8080
to: "not_home"
8181
actions:
82-
- action: peblar.remove_rfid_token
82+
- action: peblar.delete_rfid_token
8383
data:
8484
config_entry_id: "01234567890abcdef01234567890abcd"
8585
uid: "04A1B2C3D4E5F6"

source/_actions/peblar.list_rfid_tokens.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ related:
77
- docs: /integrations/peblar/
88
title: Peblar
99
- action: peblar.add_rfid_token
10-
- action: peblar.remove_rfid_token
10+
- action: peblar.delete_rfid_token
1111
---
1212

1313
The **List RFID tokens** action retrieves all RFID tokens stored in the Peblar charger's standalone authorization list. The action returns the full list as response data, which you can use in an automation or script to inspect or react to the tokens configured on your charger.

0 commit comments

Comments
 (0)