Fix ConfigurableService deprecations (#8526)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -41,10 +41,8 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Jochen Hiller - Initial contribution and API
|
||||
* @author Laurent Garnier - add support for OGG and AAC audio formats
|
||||
*/
|
||||
@Component(configurationPid = "org.openhab.voicerss", property = { Constants.SERVICE_PID + "=org.openhab.voicerss",
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=voice:voicerss",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=VoiceRSS Text-to-Speech",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=voice" })
|
||||
@Component(configurationPid = "org.openhab.voicerss", property = Constants.SERVICE_PID + "=org.openhab.voicerss")
|
||||
@ConfigurableService(category = "voice", label = "VoiceRSS Text-to-Speech", description_uri = "voice:voicerss")
|
||||
public class VoiceRSSTTSService implements TTSService {
|
||||
|
||||
/** Cache folder name is below userdata/voicerss/cache. */
|
||||
|
||||
Reference in New Issue
Block a user