Skip to content

Commit

Permalink
Update qn8027.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
gabest11 authored Oct 17, 2024
1 parent 4305f15 commit 8bf78fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/qn8027.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ Example configuration
- number.set: # set frequency through the number component, this also shows up in Home Assistant UI
id: fm_frequency
value: !lambda 'return x;'
- qn8027.set_frequency:
frequency: !lambda 'return x;' # this is the elegant way to do scripting
- qn8027.set_frequency: # this is the elegant way to do scripting
frequency: !lambda 'return x;'
- lambda: !lambda 'id(fm_transmitter).set_frequency(x);' # this is the less elegant way, but any member of the c++ class is accessible
Configuration variables:
Expand Down

0 comments on commit 8bf78fb

Please sign in to comment.