This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Aqara TRV E1 External Temperature Control | |
| description: > | |
| This automation allows the Aqara TRV E1 Smart Radiator Thermostat to use temperature readings from an external sensor rather than its internal sensor. Whenever the temperature sensor reports a new value, it is sent to the TRV for more accurate climate control. | |
| domain: automation | |
| source_url: "https://gist.github.com/pavax/8d6ed250765d89cb281d4a1762b8d2e8" | |
| input: | |
| external_temp_sensor: | |
| name: External Temperature Sensor | |
| description: Select the temperature sensor that will provide temperature readings to the Aqara TRV. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "components": { | |
| "Timepicker": { | |
| "meta": { | |
| "scope": "all", | |
| "parameters": { | |
| "minHeight": { | |
| "type": "number" | |
| }, | |
| "paddingHorizontal": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { StyleSheet, NativeSyntheticEvent, TextInputSubmitEditingEventData } from 'react-native'; | |
| import { FormikContextType, useFormikContext } from 'formik'; | |
| import { Autocomplete, AutocompleteProps, AutocompleteItem, AutocompleteItemElement } from '@ui-kitten/components'; | |
| export interface FormAutocompleteDataItem { | |
| toString: () => string; | |
| } | |
| type FormAutocompleteDataProps<Item extends FormAutocompleteDataItem = any> = Override<AutocompleteProps, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require('path'); | |
| // npm i -D @expo/webpack-config | |
| const createExpoWebpackConfigAsync = require('@expo/webpack-config'); | |
| const uiKittenComponents = path.resolve(__dirname, './node_modules/@ui-kitten/components'); | |
| const uiKittenComponentAlias = { | |
| '@ui-kitten/components': path.resolve(__dirname, uiKittenComponents), | |
| './bottomNavigationTab.component.tsx': path.resolve(uiKittenComponents, 'ui/bottomNavigation/bottomNavigationTab.component.js'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface SignInProps extends SignInScreenProps { | |
| onAuthorized: () => void; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const onFormSubmit = (values: SignInData): void => { | |
| props.onAuthorized(); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // AdditionalNavigationProp is, for example, DrawerNavigationProp | |
| export type BottomTabBarProps<AdditionalNavigationProp = {}> = BottomTabBarOptions & { | |
| state: TabNavigationState; | |
| descriptors: BottomTabDescriptorMap; | |
| navigation: NavigationHelpers<ParamListBase> & AdditionalNavigationProp; | |
| // .... | |
| }; |
NewerOlder