Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/denon_rs232/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""The Denon RS232 integration."""
"""The Denon RS-232 integration."""

from denon_rs232 import DenonReceiver, ReceiverState
from denon_rs232.models import MODELS
Expand All @@ -14,7 +14,7 @@


async def async_setup_entry(hass: HomeAssistant, entry: DenonRS232ConfigEntry) -> bool:
"""Set up Denon RS232 from a config entry."""
"""Set up Denon RS-232 from a config entry."""
port = entry.data[CONF_DEVICE]
model = MODELS[entry.data[CONF_MODEL]]
receiver = DenonReceiver(port, model=model)
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/denon_rs232/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Config flow for the Denon RS232 integration."""
"""Config flow for the Denon RS-232 integration."""

from typing import Any

Expand Down Expand Up @@ -63,7 +63,7 @@ async def _async_attempt_connect(port: str, model_key: str) -> str | None:


class DenonRS232ConfigFlow(ConfigFlow, domain=DOMAIN):
"""Handle a config flow for Denon RS232."""
"""Handle a config flow for Denon RS-232."""

VERSION = 1

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/denon_rs232/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Constants for the Denon RS232 integration."""
"""Constants for the Denon RS-232 integration."""

import logging

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/denon_rs232/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"domain": "denon_rs232",
"name": "Denon RS232",
"name": "Denon RS-232",
"codeowners": ["@balloob"],
"config_flow": true,
"dependencies": ["usb"],
Expand Down
6 changes: 3 additions & 3 deletions homeassistant/components/denon_rs232/media_player.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Media player platform for the Denon RS232 integration."""
"""Media player platform for the Denon RS-232 integration."""

from typing import Literal, cast

Expand Down Expand Up @@ -77,7 +77,7 @@ async def async_setup_entry(
config_entry: DenonRS232ConfigEntry,
async_add_entities: AddConfigEntryEntitiesCallback,
) -> None:
"""Set up the Denon RS232 media player."""
"""Set up the Denon RS-232 media player."""
receiver = config_entry.runtime_data
entities = [DenonRS232MediaPlayer(receiver, receiver.main, config_entry, "main")]

Expand All @@ -94,7 +94,7 @@ async def async_setup_entry(


class DenonRS232MediaPlayer(MediaPlayerEntity):
"""Representation of a Denon receiver controlled over RS232."""
"""Representation of a Denon receiver controlled over RS-232."""

_attr_device_class = MediaPlayerDeviceClass.RECEIVER
_attr_has_entity_name = True
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/generated/integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@
"integration_type": "hub",
"config_flow": true,
"iot_class": "local_push",
"name": "Denon RS232"
"name": "Denon RS-232"
},
"heos": {
"integration_type": "hub",
Expand Down
2 changes: 1 addition & 1 deletion tests/components/denon_rs232/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Tests for the Denon RS232 integration."""
"""Tests for the Denon RS-232 integration."""

MOCK_DEVICE = "/dev/ttyUSB0"
MOCK_MODEL = "avr_3805"
Expand Down
2 changes: 1 addition & 1 deletion tests/components/denon_rs232/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Test fixtures for the Denon RS232 integration."""
"""Test fixtures for the Denon RS-232 integration."""

from typing import Literal
from unittest.mock import AsyncMock, patch
Expand Down
2 changes: 1 addition & 1 deletion tests/components/denon_rs232/test_config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Tests for the Denon RS232 config flow."""
"""Tests for the Denon RS-232 config flow."""

from collections.abc import Generator
from unittest.mock import AsyncMock, MagicMock, patch
Expand Down
2 changes: 1 addition & 1 deletion tests/components/denon_rs232/test_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Tests for the Denon RS232 integration init."""
"""Tests for the Denon RS-232 integration init."""

from unittest.mock import AsyncMock

Expand Down
2 changes: 1 addition & 1 deletion tests/components/denon_rs232/test_media_player.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Tests for the Denon RS232 media player platform."""
"""Tests for the Denon RS-232 media player platform."""

from pathlib import Path
from typing import Literal
Expand Down