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
| package io.seald.teststreams_rn | |
| import com.facebook.react.bridge.ReactApplicationContext | |
| import com.facebook.react.bridge.ReactContextBaseJavaModule | |
| import com.facebook.react.bridge.ReactMethod | |
| import com.facebook.react.bridge.Promise | |
| import android.util.Log | |
| import android.net.Uri | |
| import android.os.Environment |
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
| rest: | |
| - resource_template: "https://www.api-couleur-tempo.fr/api/joursTempo?dateJour%5B%5D={{now().strftime('%Y-%m-%d')}}&dateJour%5B%5D={{(now() + timedelta(days=1)).strftime('%Y-%m-%d')}}" | |
| scan_interval: 3600 | |
| headers: | |
| Accept: application/json | |
| sensor: | |
| - name: "edfTempo" | |
| value_template: "{{ 'unknown' if not value_json[0] else 'bleu' if value_json[0].codeJour == 1 else 'blanc' if value_json[0].codeJour == 2 else 'rouge' if value_json[0].codeJour == 3 else 'unknown' }}" | |
| availability: 'unknown' | |
| - name: "edfTempoTomorrow" |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>CFBundleDevelopmentRegion</key> | |
| <string>en</string> | |
| <key>CFBundleExecutable</key> | |
| <string>##FRAMEWORK_NAME##</string> | |
| <key>CFBundleIdentifier</key> | |
| <string>##FRAMEWORK_ID##</string> |
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
| package utils | |
| import "sync" | |
| type RWMutexGroup struct { | |
| internalMap map[string]*sync.RWMutex | |
| internalMapLock sync.RWMutex | |
| globalLock sync.RWMutex | |
| } |
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
| """The generic_thermostat_with_step component.""" | |
| DOMAIN = "generic_thermostat_with_step" | |
| PLATFORMS = ["climate"] |
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
| <!DOCTYPE html> | |
| <html> | |
| <header> | |
| <script type='text/javascript' src="./untar.js"></script> | |
| <script type='text/javascript' src="./index.js"></script> | |
| </header> | |
| <body> | |
| <div> | |
| Choose a file to seal: | |
| <br> |