This component adds support for the Dahua VCS-SH30 PoE speaker as a media player in Home Assistant.
Copy custom_components/dahua_speaker to your custom_components folder in Home Assistant.
Restart Home Assistant via Settings -> System -> Power Button.
To add your speaker, go to Settings -> Devices -> Add Integration -> Dahua Speaker.