Most of the hard work is done by @nateevans https://gist.github.com/nateevans/9958390
Thank you!
Requires Twig ^1.2 | ^2.0
{% extends 'knp_menu.html.twig' %}| - id: '1749005648026' | |
| alias: Update Bordlampe Color Based on Le Mans Flags | |
| description: Change light color based on Le Mans flag statuses for 1 minute then reset | |
| trigger: | |
| - platform: state | |
| entity_id: | |
| - sensor.le_mans_main_flag | |
| - sensor.le_mans_flag_status_0 | |
| - sensor.le_mans_flag_status_1 | |
| - sensor.le_mans_flag_status_2 |
| <?php | |
| namespace App\Command; | |
| use Carbon\Carbon; | |
| use Symfony\Component\Console\Attribute\AsCommand; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| use Symfony\Component\Serializer\SerializerInterface; |
| <?php | |
| // composer require symfony/serializer symfony/property-info symfony/property-access phpdocumentor/reflection-docblock | |
| require __DIR__ . '/vendor/autoload.php'; | |
| use Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor; | |
| use Symfony\Component\PropertyInfo\PropertyInfoExtractor; | |
| use Symfony\Component\Serializer\Encoder\JsonEncoder; | |
| use Symfony\Component\Serializer\Normalizer\ArrayDenormalizer; |
Most of the hard work is done by @nateevans https://gist.github.com/nateevans/9958390
Thank you!
Requires Twig ^1.2 | ^2.0
{% extends 'knp_menu.html.twig' %}| { | |
| "editor.renderIndentGuides": false, | |
| "workbench.iconTheme": "material-icon-theme", | |
| "workbench.colorTheme": "Dracula", | |
| "files.autoSave": "onFocusChange", | |
| "editor.fontSize": 18, | |
| "workbench.tips.enabled": false, | |
| "workbench.welcome.enabled": false, | |
| "npm-intellisense.scanDevDependencies": true, | |
| "beautify.language": { |