Update compensation.markdown (#18012)

Fix example to working example for media player.
This commit is contained in:
Petro31 2021-05-31 09:15:51 -04:00 committed by GitHub
parent c92a2d8fdc
commit 88495e2f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,8 @@ To enable the compensation sensor, add the following lines to your `configuratio
compensation: compensation:
media_player_db_volume: media_player_db_volume:
source: media_player.yamaha_receiver source: media_player.yamaha_receiver
attribute: volume_level
unit_of_measurement: dB
data_points: data_points:
- [0.2, -80.0] - [0.2, -80.0]
- [1.0, 0.0] - [1.0, 0.0]