Skip to content

Commit 4d6ab2c

Browse files
committed
Fix translations syntax error
Signed-off-by: Ben Johnson <[email protected]>
1 parent 9bfee65 commit 4d6ab2c

File tree

2 files changed

+21
-27
lines changed

2 files changed

+21
-27
lines changed

README.md

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,19 @@ After installation, add the Trinnov Altitude integration via the Home Assistant
4848

4949
The Trinnov Altitude remote platform will create a [Remote](https://www.home-assistant.io/integrations/remote/) entity for the device. This entity allows you to send the following commands via the [remote.send_command](https://www.home-assistant.io/integrations/remote/) service.
5050

51+
A typical service call might look like the example below, which sends a command to the device to select the currently highlighted item.
52+
53+
```yaml
54+
service: remote.send_command
55+
target:
56+
entity_id: remote.trinnov_altitude
57+
data:
58+
command:
59+
- volume_up
60+
```
61+
62+
#### Single Commands
63+
5164
- `acoustic_correction_off`
5265
- `acoustic_correction_on`
5366
- `acoustic_correction_toggle`
@@ -68,42 +81,23 @@ The Trinnov Altitude remote platform will create a [Remote](https://www.home-ass
6881
- `mute_toggle`
6982
- `page_down`
7083
- `page_up`
71-
- `preset_set`
7284
- `quick_optimized_off`
7385
- `quick_optimized_on`
7486
- `quick_optimized_toggle`
75-
- `remapping_mode_set`
76-
- `source_set`
7787
- `time_alignment_off`
7888
- `time_alignment_on`
7989
- `time_alignment_toggle`
80-
- `upmixer_set`
8190
- `volume_down`
82-
- `volume_ramp`
83-
- `volume_set`
8491
- `volume_up`
8592

86-
A typical service call might look like the example below, which sends a command to the device to select the currently highlighted item.
87-
88-
```yaml
89-
service: remote.send_command
90-
target:
91-
entity_id: remote.trinnov_altitude
92-
data:
93-
command:
94-
- volume_up
95-
```
96-
97-
Commands can take arguments, like that of the `source_set` command:
93+
#### Commands With Paramteres
9894

99-
```yaml
100-
service: remote.send_command
101-
target:
102-
entity_id: remote.trinnov_altitude
103-
data:
104-
command:
105-
- source_set 1
106-
```
95+
- `preset_set (int)`
96+
- `remapping_mode_set (string)`
97+
- `source_set (int)`
98+
- `volume_set (decimal)`
99+
- `volume_ramp (decimal)`
100+
- `upmixer_set (string)`
107101

108102
### Binary Sensors
109103

custom_components/trinnov_altitude/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"mute": {
3030
"name": "Mute"
3131
}
32-
}
32+
},
3333
"sensor": {
3434
"audiosync": {
3535
"name": "Audiosync"

0 commit comments

Comments
 (0)