Update for Speech corrections. New version and some deprecation chnges.

This commit is contained in:
ccostan 2021-04-19 09:24:44 -04:00
parent d4599cbf5f
commit 0314ddf9ef
13 changed files with 260 additions and 52 deletions

View File

@ -1 +1 @@
2021.3.2
2021.4.3

View File

@ -63,7 +63,7 @@
- service: script.speech_engine
data:
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}} outside. I will turn on some extra lights in the living room."
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning')|replace('carlo','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')| replace('carlo','and clouds')}} outside. I will turn on some extra lights in the living room."
call_window_check: 1
call_garage_check: 1

View File

@ -91,7 +91,6 @@ frontend:
discovery:
updater:
include_used_components: true
sun:

View File

@ -4,7 +4,7 @@
# Read all about this and more at https://vCloudInfo.com
# HomeKit control file.
######################################################################################################
# auto_start: false
filter:
include_domains:
- climate

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,24 @@
import nodeResolve from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";
import typescript from "rollup-plugin-typescript2";
import { terser } from "rollup-plugin-terser";
import babel from "@rollup/plugin-babel";
const dev = process.env.ROLLUP_WATCH;
export default {
input: "src/main.ts",
output: {
file: "auto-entities.js",
format: "es",
},
plugins: [
nodeResolve(),
json(),
typescript(),
babel({
exclude: "node_modules/**",
}),
!dev && terser({ format: { comments: false } }),
],
};

View File

@ -1,10 +0,0 @@
const path = require('path')
module.exports = {
entry: './src/main.js',
mode: 'production',
output: {
filename: 'auto-entities.js',
path: path.resolve(__dirname)
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB