Skip to content

Commit b315dc9

Browse files
authored
Fix type assertion for channel name
1 parent baa42d8 commit b315dc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ class OpenMeteoWeather extends utils.Adapter {
597597
for (const chan of channels) {
598598
await this.setObjectNotExistsAsync(`${folderName}.${chan.id}`, {
599599
type: 'channel',
600-
common: { name: chan.name as any },
600+
common: { name: chan.name },
601601
native: {},
602602
});
603603
}

0 commit comments

Comments
 (0)