Skip to content

Commit

Permalink
limit entity selection
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jun 23, 2023
1 parent 6fb32b5 commit bb4b2b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion custom_components/powercalc/services.yaml
Expand Up @@ -25,6 +25,7 @@ calibrate_energy:
target:
entity:
domain: sensor
device_class: energy
fields:
value:
name: Value
Expand All @@ -39,6 +40,8 @@ increase_daily_energy:
target:
entity:
domain: sensor
integration: powercalc
device_class: energy
fields:
value:
name: Value
Expand All @@ -54,6 +57,7 @@ activate_playbook:
entity:
domain: sensor
integration: powercalc
device_class: power
fields:
playbook_id:
name: Playbook
Expand All @@ -68,4 +72,5 @@ stop_playbook:
target:
entity:
domain: sensor
integration: powercalc
integration: powercalc
device_class: power

0 comments on commit bb4b2b0

Please sign in to comment.