amcrest switch platform lets you control settings of Amcrest IP Camera through Home Assistant.
Switches will be configured automatically. Please refer to the component configuration on how to setup.
In previous versions, switch devices in setups with multiple cameras, would not have specific entity ID causing them to change randomly after each Home Assistant restart. The current version adds the name of the camera at the end of the switch entity ID, making it more specific and consistent and causes the name option to be required in a multi-camera system. This behavior matches the sensor behavior of the Amcrest component. Because of this, older automations may require updates to the entity ID.