Skip to content

Commit

Permalink
Amperfied/Heidelberg: split templates (#9505)
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply authored Aug 25, 2023
1 parent 866da9f commit 01b1513
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 54 deletions.
18 changes: 18 additions & 0 deletions templates/definition/charger/amperfied.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
template: amperfied
products:
- brand: Amperfied
description:
generic: Wallbox connect.home
- brand: Amperfied
description:
generic: Wallbox connect.business
capabilities: ["mA", "rfid"]
requirements:
evcc: ["sponsorship"]
params:
- name: modbus
choice: ["tcpip"]
id: 255
render: |
type: heidelberg
{{- include "modbus" . }}
6 changes: 0 additions & 6 deletions templates/definition/charger/heidelberg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ products:
- brand: Amperfied
description:
generic: Wallbox Energy Control
- brand: Amperfied
description:
generic: Wallbox connect.home
- brand: Amperfied
description:
generic: Wallbox connect.business
capabilities: ["mA"]
requirements:
description:
Expand Down
15 changes: 15 additions & 0 deletions templates/docs/charger/amperfied_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
product:
brand: Amperfied
description: Wallbox connect.home
capabilities: ["mA", "rfid"]
requirements: ["sponsorship"]
render:
- default: |
type: template
template: amperfied
# Modbus TCP
modbus: tcpip
id: 255
host: 192.0.2.2 # Hostname
port: 502 # Port
15 changes: 15 additions & 0 deletions templates/docs/charger/amperfied_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
product:
brand: Amperfied
description: Wallbox connect.business
capabilities: ["mA", "rfid"]
requirements: ["sponsorship"]
render:
- default: |
type: template
template: amperfied
# Modbus TCP
modbus: tcpip
id: 255
host: 192.0.2.2 # Hostname
port: 502 # Port
24 changes: 0 additions & 24 deletions templates/docs/charger/heidelberg_4.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions templates/docs/charger/heidelberg_5.yaml

This file was deleted.

0 comments on commit 01b1513

Please sign in to comment.