Closed YogevBokobza closed 2 weeks ago
Does adding "IF"s to each function make sense to allow the function to run only for a specific device type? I mean this function "stop_shutter(..)" is meant for Type2 devices and not Type1. Should we block accessing Type1 devices for this function?
Does adding "IF"s to each function make sense to allow the function to run only for a specific device type? I mean this function "stop_shutter(..)" is meant for Type2 devices and not Type1. Should we block accessing Type1 devices for this function?
I don't think we should complicate the implementation with this
Does adding "IF"s to each function make sense to allow the function to run only for a specific device type? I mean this function "stop_shutter(..)" is meant for Type2 devices and not Type1. Should we block accessing Type1 devices for this function?
I don't think we should complicate the implementation with this
Fine by me.
Description
BREAKING CHANGE: Convert SwitcherType1Api and SwitcherType2Api to a single SwitcherApi class.
Related issue (if any): fixes #778
Checklist