Skip to content

Commit

Permalink
Adds descriptive names to set_timer and set_angle services (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotvezz authored Sep 7, 2023
1 parent ec8fbea commit d0d3647
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_components/dyson_local/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ set_angle:
description: Set the oscillation angle of the selected fan(s).
fields:
entity_id:
name: Entity ID
description: Name(s) of the entities for which to set the angle
example: "fan.living_room"
angle_low:
name: Angle Low
description: The angle at which the oscillation should start
example: 1
angle_high:
name: Angle High
description: The angle at which the oscillation should end
example: 255

Expand All @@ -17,8 +20,10 @@ set_timer:
description: Set the sleep timer.
fields:
entity_id:
name: Entity ID
description: Name(s) of the entities to set the sleep timer for
example: "fan.living_room"
timer:
name: Timer
description: The value in minutes to set the timer to, 0 to disable it
example: 30

0 comments on commit d0d3647

Please sign in to comment.